Skip to content

Commit

Permalink
Fixing Empty groups appear in block grid editor Add content UI
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHutmat committed Jan 16, 2025
1 parent e00290f commit 42997ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class UmbBlockCatalogueModalElement extends UmbModalBaseElement<
: nothing}
${this._filtered.map(
(group) => html`
${group.name && group.name !== '' ? html`<h4>${group.name}</h4>` : nothing}
${group.name && group.blocks.length !== 0 && group.name !== '' ? html`<h4>${group.name}</h4>` : nothing}
<div class="blockGroup">
${repeat(
group.blocks,
Expand Down

0 comments on commit 42997ee

Please sign in to comment.