diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit.element.ts index ba8f65111e..d9bba5c9d6 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit.element.ts @@ -121,13 +121,13 @@ export class UmbDocumentTypeWorkspaceViewEditElement headline: 'Delete tab', content: html`Are you sure you want to delete the tab (${tab?.name || tab?.id})?
- This will also delete all items below this tab that doesn't belong to a composition. + This will delete all items that doesn't belong to a composition.
`, confirmLabel: 'Delete', color: 'danger', }; - const ComposedMessageRemove: UmbConfirmModalData = { + const ComposedMessage: UmbConfirmModalData = { headline: 'Remove composed tab', content: html`This tab is a composed tab. Are you sure you want to remove the composed tab (${tab?.name || tab?.id})?`, @@ -138,7 +138,7 @@ export class UmbDocumentTypeWorkspaceViewEditElement // TODO: If this tab is composed of other tabs, then notify that it will only delete the local tab. const modalHandler = this._tabsStructureHelper?.isOwnerContainer(tab?.id) ? this._modalManagerContext?.open(UMB_CONFIRM_MODAL, LocalMessage) - : this._modalManagerContext?.open(UMB_CONFIRM_MODAL, ComposedMessageRemove); + : this._modalManagerContext?.open(UMB_CONFIRM_MODAL, ComposedMessage); modalHandler?.onSubmit().then(() => { this.#remove(tab?.id);