From 8b14209e13e5bbbc707a2a7550e16fa56d3b84ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 5 Jan 2023 09:49:27 +0100 Subject: [PATCH] use type --- .../src/backoffice/shared/components/section/section.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section.element.ts index 61dea68cbe..9fac7d2b35 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section.element.ts @@ -98,7 +98,7 @@ export class UmbSectionElement extends UmbLitElement { component: () => createExtensionElement(workspace), setup: (component: Promise, info: IRoutingInfo) => { component.then((el) => { - (el as any).entityKey = info.match.params.key; + el.entityKey = info.match.params.key; }); }, });