From d4bf413bfb58e6000524f46f75f702d4f97b485d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 4 Jan 2023 10:38:04 +0100 Subject: [PATCH] remove un needed stuff --- .../collection/workspace-view-collection.element.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/workspace/workspace-content/views/collection/workspace-view-collection.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/workspace/workspace-content/views/collection/workspace-view-collection.element.ts index 88c74beea3..f4e1b8402c 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/workspace/workspace-content/views/collection/workspace-view-collection.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/workspace/workspace-content/views/collection/workspace-view-collection.element.ts @@ -35,17 +35,6 @@ export class UmbWorkspaceViewCollectionElement extends UmbLitElement { }); } - connectedCallback(): void { - super.connectedCallback(); - // TODO: avoid this connection, our own approach on Lit-Controller could be handling this case. - this._collectionContext?.connectedCallback(); - } - disconnectedCallback(): void { - super.connectedCallback(); - // TODO: avoid this connection, our own approach on Lit-Controller could be handling this case. - this._collectionContext?.disconnectedCallback(); - } - protected _provideWorkspace() { if (this._workspaceContext?.entityKey != null) { this._collectionContext = new UmbCollectionContext( @@ -53,7 +42,6 @@ export class UmbWorkspaceViewCollectionElement extends UmbLitElement { this._workspaceContext.entityKey, this._workspaceContext.getStore().storeAlias ); - this._collectionContext.connectedCallback(); this.provideContext('umbCollectionContext', this._collectionContext); } }