diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/data-type/tree/folder/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/core/data-type/tree/folder/manifests.ts index 65d6454e00..06426f03fe 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/data-type/tree/folder/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/data-type/tree/folder/manifests.ts @@ -13,24 +13,11 @@ const folderRepository: ManifestRepository = { }; const entityActions: Array = [ - { - type: 'entityAction', - alias: 'Umb.EntityAction.DataType.DeleteFolder', - name: 'Delete Data Type Folder Entity Action', - weight: 800, - api: UmbDeleteFolderEntityAction, - meta: { - icon: 'icon-trash', - label: 'Delete Folder...', - repositoryAlias: UMB_DATA_TYPE_FOLDER_REPOSITORY_ALIAS, - entityTypes: [UMB_DATA_TYPE_FOLDER_ENTITY_TYPE], - }, - }, { type: 'entityAction', alias: 'Umb.EntityAction.DataType.RenameFolder', name: 'Rename Data Type Folder Entity Action', - weight: 700, + weight: 800, api: UmbFolderUpdateEntityAction, meta: { icon: 'icon-edit', @@ -39,6 +26,19 @@ const entityActions: Array = [ entityTypes: [UMB_DATA_TYPE_FOLDER_ENTITY_TYPE], }, }, + { + type: 'entityAction', + alias: 'Umb.EntityAction.DataType.DeleteFolder', + name: 'Delete Data Type Folder Entity Action', + weight: 700, + api: UmbDeleteFolderEntityAction, + meta: { + icon: 'icon-trash', + label: 'Delete Folder...', + repositoryAlias: UMB_DATA_TYPE_FOLDER_REPOSITORY_ALIAS, + entityTypes: [UMB_DATA_TYPE_FOLDER_ENTITY_TYPE], + }, + }, ]; export const manifests = [folderRepository, ...entityActions]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/tree/folder/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/tree/folder/manifests.ts index a7ced4e26a..410d2f5096 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/tree/folder/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/tree/folder/manifests.ts @@ -13,24 +13,11 @@ const folderRepository: ManifestRepository = { }; const entityActions: Array = [ - { - type: 'entityAction', - alias: 'Umb.EntityAction.DocumentType.DeleteFolder', - name: 'Delete Document Type Folder Entity Action', - weight: 800, - api: UmbDeleteFolderEntityAction, - meta: { - icon: 'icon-trash', - label: 'Delete Folder...', - repositoryAlias: UMB_DOCUMENT_TYPE_FOLDER_REPOSITORY_ALIAS, - entityTypes: [UMB_DOCUMENT_TYPE_FOLDER_ENTITY_TYPE], - }, - }, { type: 'entityAction', alias: 'Umb.EntityAction.DocumentType.RenameFolder', name: 'Rename Document Type Folder Entity Action', - weight: 700, + weight: 800, api: UmbFolderUpdateEntityAction, meta: { icon: 'icon-edit', @@ -39,6 +26,19 @@ const entityActions: Array = [ entityTypes: [UMB_DOCUMENT_TYPE_FOLDER_ENTITY_TYPE], }, }, + { + type: 'entityAction', + alias: 'Umb.EntityAction.DocumentType.DeleteFolder', + name: 'Delete Document Type Folder Entity Action', + weight: 700, + api: UmbDeleteFolderEntityAction, + meta: { + icon: 'icon-trash', + label: 'Delete Folder...', + repositoryAlias: UMB_DOCUMENT_TYPE_FOLDER_REPOSITORY_ALIAS, + entityTypes: [UMB_DOCUMENT_TYPE_FOLDER_ENTITY_TYPE], + }, + }, ]; export const manifests = [folderRepository, ...entityActions]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/tree/folder/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/tree/folder/manifests.ts index 1b443a788a..67d4bc409e 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/tree/folder/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/tree/folder/manifests.ts @@ -13,24 +13,11 @@ const folderRepository: ManifestRepository = { }; const entityActions: Array = [ - { - type: 'entityAction', - alias: 'Umb.EntityAction.MediaType.DeleteFolder', - name: 'Delete Media Type Folder Entity Action', - weight: 800, - api: UmbDeleteFolderEntityAction, - meta: { - icon: 'icon-trash', - label: 'Delete Folder...', - repositoryAlias: UMB_MEDIA_TYPE_FOLDER_REPOSITORY_ALIAS, - entityTypes: [UMB_MEDIA_TYPE_FOLDER_ENTITY_TYPE], - }, - }, { type: 'entityAction', alias: 'Umb.EntityAction.MediaType.RenameFolder', name: 'Rename Media Type Folder Entity Action', - weight: 700, + weight: 800, api: UmbFolderUpdateEntityAction, meta: { icon: 'icon-edit', @@ -39,6 +26,19 @@ const entityActions: Array = [ entityTypes: [UMB_MEDIA_TYPE_FOLDER_ENTITY_TYPE], }, }, + { + type: 'entityAction', + alias: 'Umb.EntityAction.MediaType.DeleteFolder', + name: 'Delete Media Type Folder Entity Action', + weight: 700, + api: UmbDeleteFolderEntityAction, + meta: { + icon: 'icon-trash', + label: 'Delete Folder...', + repositoryAlias: UMB_MEDIA_TYPE_FOLDER_REPOSITORY_ALIAS, + entityTypes: [UMB_MEDIA_TYPE_FOLDER_ENTITY_TYPE], + }, + }, ]; export const manifests = [folderRepository, ...entityActions];