create folder action clean up
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import { UmbEntityActionBase } from '@umbraco-cms/backoffice/entity-action';
|
||||
import { UMB_MODAL_MANAGER_CONTEXT } from '@umbraco-cms/backoffice/modal';
|
||||
import { type UmbFolderRepository, UMB_FOLDER_CREATE_MODAL } from '@umbraco-cms/backoffice/tree';
|
||||
import { type UmbFolderRepository } from '@umbraco-cms/backoffice/tree';
|
||||
|
||||
export class UmbCreateFolderEntityAction<T extends UmbFolderRepository> extends UmbEntityActionBase<T> {
|
||||
constructor(host: UmbControllerHost, args: any) {
|
||||
super(host, args);
|
||||
}
|
||||
|
||||
async execute() {
|
||||
/*
|
||||
if (!this.repository) return;
|
||||
|
||||
const modalManager = await this.getContext(UMB_MODAL_MANAGER_CONTEXT);
|
||||
@@ -15,5 +20,9 @@ export class UmbCreateFolderEntityAction<T extends UmbFolderRepository> extends
|
||||
});
|
||||
|
||||
await modalContext.onSubmit();
|
||||
*/
|
||||
console.log(`execute create-folder for: ${this.args.unique}`);
|
||||
}
|
||||
|
||||
destroy(): void {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user