fix block grid custom views

This commit is contained in:
Mads Rasmussen
2025-03-04 11:23:45 +01:00
parent 92cb355f4d
commit 7e4dda7bab

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">