From a66b94f08bbaa5d6de3f27b74d2082aac9b467bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 20 Dec 2022 16:01:35 +0100 Subject: [PATCH] data ttype addition --- .../workspaces/data-type/workspace-data-type.element.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/workspaces/data-type/workspace-data-type.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/workspaces/data-type/workspace-data-type.element.ts index 4f5384bdda..2e02eb5161 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/workspaces/data-type/workspace-data-type.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/workspaces/data-type/workspace-data-type.element.ts @@ -134,7 +134,7 @@ export class UmbWorkspaceDataTypeElement extends UmbContextProviderMixin( private _onPropertyValueChange = (e: Event) => { const target = e.composedPath()[0] as any; - this._dataTypeContext?.setPropertyValue(target?.alias, target?.value); + this._workspaceContext?.setPropertyValue(target?.alias, target?.value); }; // TODO. find a way where we don't have to do this for all Workspaces. @@ -143,7 +143,7 @@ export class UmbWorkspaceDataTypeElement extends UmbContextProviderMixin( const target = event.composedPath()[0] as UUIInputElement; if (typeof target?.value === 'string') { - this._dataTypeContext?.update({ name: target.value }); + this._workspaceContext?.update({ name: target.value }); } } }