From a23ab9f556b67eb6603cd8a911bd5fb6bb9a02f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 20 Dec 2022 09:57:55 +0100 Subject: [PATCH] todo --- .../workspaces/document/workspace-document.element.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/workspaces/document/workspace-document.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/workspaces/document/workspace-document.element.ts index 0f1e33e227..4807d0147a 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/workspaces/document/workspace-document.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/workspaces/document/workspace-document.element.ts @@ -58,12 +58,14 @@ export class UmbWorkspaceDocumentElement extends UmbObserverMixin(UmbContextCons } connectedCallback(): void { - super.connectedCallback() + super.connectedCallback(); + // TODO: avoid this connection, our own approach on Lit-Controller could be handling this case. this._workspaceContext?.connectedCallback(); } disconnectedCallback(): void { super.connectedCallback() - this._workspaceContext?.connectedCallback(); + // TODO: avoid this connection, our own approach on Lit-Controller could be handling this case. + this._workspaceContext?.disconnectedCallback(); } protected _provideWorkspace() {