fix block grid custom views (#18558)

This commit is contained in:
Mads Rasmussen
2025-03-04 12:09:56 +01:00
committed by GitHub
parent d167a60373
commit 3491afefbb

View File

@@ -446,7 +446,7 @@ export class UmbBlockGridEntryElement extends UmbLitElement implements UmbProper
};
override render() {
return this.contentKey
return this.contentKey && (this._contentTypeAlias || this._unsupported)
? html`
${this.#renderCreateBeforeInlineButton()}
<div class="umb-block-grid__block" part="umb-block-grid__block">