Skip to content

Commit 42997ee

Browse files
committed
Fixing Empty groups appear in block grid editor Add content UI
1 parent e00290f commit 42997ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export class UmbBlockCatalogueModalElement extends UmbModalBaseElement<
157157
: nothing}
158158
${this._filtered.map(
159159
(group) => html`
160-
${group.name && group.name !== '' ? html`<h4>${group.name}</h4>` : nothing}
160+
${group.name && group.blocks.length !== 0 && group.name !== '' ? html`<h4>${group.name}</h4>` : nothing}
161161
<div class="blockGroup">
162162
${repeat(
163163
group.blocks,

0 commit comments

Comments
 (0)