@ -25,7 +25,7 @@
<a class="dropdown-item dropdown-item-delete"
[class.disabled]="!canDelete"
(sqxConfirmClick)="delete.emit()"
(sqxConfirmClick)="emitDelete()"
confirmTitle="Delete folder"
confirmText="Do you really want to delete the folder and all assets?">
Delete
@ -45,6 +45,10 @@ export class AssetFolderComponent {
}
public emitDelete() {
this.delete.emit(this.assetFolder);
public emitNavigate() {
this.navigate.emit(this.assetFolder);