From 3051bb3c7924ca8afd1545dfb584e9017d9db8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Sat, 10 Feb 2024 22:56:36 +0100 Subject: [PATCH] remove unused code --- .../block/block-grid/context/block-grid-entries.context.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/block/block-grid/context/block-grid-entries.context.ts b/src/Umbraco.Web.UI.Client/src/packages/block/block-grid/context/block-grid-entries.context.ts index 1bfc04f01c..9d841d3e29 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/block/block-grid/context/block-grid-entries.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/block/block-grid/context/block-grid-entries.context.ts @@ -41,7 +41,7 @@ export class UmbBlockGridEntriesContext extends UmbBlockEntriesContext< this.#retrieveParentEntry = this.consumeContext(UMB_BLOCK_GRID_ENTRY_CONTEXT, (blockGridEntry) => { this.#parentEntry = blockGridEntry; - this.#gotBlockParentEntry(); + //this.#gotBlockParentEntry();// is not used at this point. }).asPromise(); this.#catalogueModal = new UmbModalRouteRegistrationController(this, UMB_BLOCK_CATALOGUE_MODAL) @@ -87,9 +87,9 @@ export class UmbBlockGridEntriesContext extends UmbBlockEntriesContext< ); } - #gotBlockParentEntry() { + /*#gotBlockParentEntry() { if (!this.#parentEntry) return; - } + }*/ async #gotAreaKey() { if (this.#areaKey === undefined) return;