diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/content-type-workspace-context.interface.ts b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/content-type-workspace-context.interface.ts index 949fb29eac..ab72d6db64 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/content-type-workspace-context.interface.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/content-type-workspace-context.interface.ts @@ -5,6 +5,8 @@ import type { UmbSaveableWorkspaceContextInterface } from '@umbraco-cms/backoffi export interface UmbContentTypeWorkspaceContext extends UmbSaveableWorkspaceContextInterface { + readonly IS_CONTENT_TYPE_WORKSPACE_CONTEXT: true; + readonly name: Observable; readonly alias: Observable; readonly description: Observable; diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/workspace/document-type-workspace.context.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/workspace/document-type-workspace.context.ts index 75ee6ebe22..26dd72bfe4 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/workspace/document-type-workspace.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/workspace/document-type-workspace.context.ts @@ -20,6 +20,7 @@ export class UmbDocumentTypeWorkspaceContext extends UmbEditableWorkspaceContextBase implements UmbContentTypeWorkspaceContext { + readonly IS_CONTENT_TYPE_WORKSPACE_CONTEXT = true; // readonly repository = new UmbDocumentTypeDetailRepository(this); // Data/Draft is located in structure manager