diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/create/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/create/manifests.ts index f4b524ef3f..11e625e6fc 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/create/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/create/manifests.ts @@ -1,5 +1,5 @@ import { DATA_TYPE_ENTITY_TYPE, DATA_TYPE_FOLDER_ENTITY_TYPE, DATA_TYPE_ROOT_ENTITY_TYPE } from '../../entities.js'; -import { DATA_TYPE_REPOSITORY_ALIAS } from '../../repository/manifests.js'; +import { DATA_TYPE_DETAIL_REPOSITORY_ALIAS } from '../../repository/detail/manifests.js'; import { UmbCreateDataTypeEntityAction } from './create.action.js'; import { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry'; @@ -13,7 +13,7 @@ const entityActions: Array = [ meta: { icon: 'icon-add', label: 'Create...', - repositoryAlias: DATA_TYPE_REPOSITORY_ALIAS, + repositoryAlias: DATA_TYPE_DETAIL_REPOSITORY_ALIAS, entityTypes: [DATA_TYPE_ENTITY_TYPE, DATA_TYPE_ROOT_ENTITY_TYPE, DATA_TYPE_FOLDER_ENTITY_TYPE], }, }, diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/create/modal/data-type-create-options-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/create/modal/data-type-create-options-modal.element.ts index d23dde8e1c..fa3f8ebf77 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/create/modal/data-type-create-options-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/create/modal/data-type-create-options-modal.element.ts @@ -1,7 +1,7 @@ -import { DATA_TYPE_REPOSITORY_ALIAS } from '../../../repository/manifests.js'; +import { DATA_TYPE_FOLDER_REPOSITORY_ALIAS } from '../../../repository/folder/manifests.js'; import { UmbDataTypeCreateOptionsModalData } from './index.js'; import { html, customElement, property } from '@umbraco-cms/backoffice/external/lit'; -import { UmbTextStyles } from "@umbraco-cms/backoffice/style"; +import { UmbTextStyles } from '@umbraco-cms/backoffice/style'; import { UmbModalManagerContext, UmbModalContext, @@ -30,7 +30,7 @@ export class UmbDataTypeCreateOptionsModalElement extends UmbLitElement { #onClick(event: PointerEvent) { event.stopPropagation(); const folderModalHandler = this.#modalContext?.open(UMB_FOLDER_MODAL, { - repositoryAlias: DATA_TYPE_REPOSITORY_ALIAS, + repositoryAlias: DATA_TYPE_FOLDER_REPOSITORY_ALIAS, }); folderModalHandler?.onSubmit().then(() => this.modalContext?.submit()); } diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/manifests.ts index bbb9ab2a56..5ba84feafe 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/entity-actions/manifests.ts @@ -1,5 +1,5 @@ import { DATA_TYPE_FOLDER_ENTITY_TYPE, DATA_TYPE_ENTITY_TYPE } from '../entities.js'; -import { DATA_TYPE_REPOSITORY_ALIAS } from '../repository/manifests.js'; +import { DATA_TYPE_DETAIL_REPOSITORY_ALIAS } from '../repository/detail/manifests.js'; import { manifests as createManifests } from './create/manifests.js'; import { manifests as moveManifests } from './move/manifests.js'; import { manifests as copyManifests } from './copy/manifests.js'; @@ -10,6 +10,7 @@ import { UmbFolderUpdateEntityAction, } from '@umbraco-cms/backoffice/entity-action'; import { ManifestEntityAction } from '@umbraco-cms/backoffice/extension-registry'; +import { DATA_TYPE_FOLDER_REPOSITORY_ALIAS } from '../repository/folder/manifests.js'; const entityActions: Array = [ { @@ -21,7 +22,7 @@ const entityActions: Array = [ meta: { icon: 'icon-trash', label: 'Delete...', - repositoryAlias: DATA_TYPE_REPOSITORY_ALIAS, + repositoryAlias: DATA_TYPE_DETAIL_REPOSITORY_ALIAS, entityTypes: [DATA_TYPE_ENTITY_TYPE], }, }, @@ -34,7 +35,7 @@ const entityActions: Array = [ meta: { icon: 'icon-trash', label: 'Delete Folder...', - repositoryAlias: DATA_TYPE_REPOSITORY_ALIAS, + repositoryAlias: DATA_TYPE_FOLDER_REPOSITORY_ALIAS, entityTypes: [DATA_TYPE_ENTITY_TYPE, DATA_TYPE_FOLDER_ENTITY_TYPE], }, }, @@ -47,7 +48,7 @@ const entityActions: Array = [ meta: { icon: 'icon-edit', label: 'Rename Folder...', - repositoryAlias: DATA_TYPE_REPOSITORY_ALIAS, + repositoryAlias: DATA_TYPE_FOLDER_REPOSITORY_ALIAS, entityTypes: [DATA_TYPE_ENTITY_TYPE, DATA_TYPE_FOLDER_ENTITY_TYPE], }, },