From 42997ee93cc95fc379015fa4dc37eed0e903e329 Mon Sep 17 00:00:00 2001 From: Mathias Helsengren Date: Thu, 16 Jan 2025 16:06:46 +0100 Subject: [PATCH] Fixing Empty groups appear in block grid editor Add content UI --- .../modals/block-catalogue/block-catalogue-modal.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts index d3b9dad65f..4d943f4da6 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts @@ -157,7 +157,7 @@ export class UmbBlockCatalogueModalElement extends UmbModalBaseElement< : nothing} ${this._filtered.map( (group) => html` - ${group.name && group.name !== '' ? html`

${group.name}

` : nothing} + ${group.name && group.blocks.length !== 0 && group.name !== '' ? html`

${group.name}

` : nothing}
${repeat( group.blocks,