From d2e032dd065cce73c7a291968770aabc631b7d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 11 Jan 2023 11:19:04 +0100 Subject: [PATCH] clean up as we dont use this anymore --- .../data-types/workspace/workspace-data-type.element.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/workspace-data-type.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/workspace-data-type.element.ts index b03c43dc2d..cbef3c52b9 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/workspace-data-type.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/workspace-data-type.element.ts @@ -53,7 +53,6 @@ export class UmbWorkspaceDataTypeElement extends UmbLitElement { constructor() { super(); - this.addEventListener('property-value-change', this._onPropertyValueChange); this.provideContext('umbWorkspaceContext', this._workspaceContext); this.observe(this._workspaceContext.data.pipe(distinctUntilChanged()), (dataType) => { if (dataType && dataType.name !== this._dataTypeName) { @@ -62,11 +61,6 @@ export class UmbWorkspaceDataTypeElement extends UmbLitElement { }); } - private _onPropertyValueChange = (e: Event) => { - const target = e.composedPath()[0] as any; - this._workspaceContext.setPropertyValue(target?.alias, target?.value); - }; - // TODO. find a way where we don't have to do this for all Workspaces. private _handleInput(event: UUIInputEvent) { if (event instanceof UUIInputEvent) {