diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/data-type-workspace.context.ts b/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/data-type-workspace.context.ts index 9ed7f50aaf..ace8a934a8 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/data-type-workspace.context.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/data-type-workspace.context.ts @@ -19,9 +19,6 @@ export class UmbDataTypeWorkspaceContext name = this.#data.getObservablePart((data) => data?.name); key = this.#data.getObservablePart((data) => data?.key); - test = new BehaviorSubject({}); - test2 = this.test.asObservable(); - constructor(host: UmbControllerHostInterface) { super(host); this.#host = host; @@ -33,7 +30,6 @@ export class UmbDataTypeWorkspaceContext if (data) { this.#isNew = false; this.#data.update(data); - this.test.next(data); } } diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/data-type-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/data-type-workspace.element.ts index 7cc9f52041..9dbc32333b 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/data-type-workspace.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/data-type-workspace.element.ts @@ -49,10 +49,6 @@ export class UmbDataTypeWorkspaceElement extends UmbLitElement { this._dataTypeName = dataTypeName ?? ''; } }); - - this.observe(this.#workspaceContext.test2, (hello) => { - console.log('hello', hello); - }); } // TODO. find a way where we don't have to do this for all Workspaces.