Enables document blueprint create menu

This commit is contained in:
leekelleher
2024-07-29 17:52:38 +01:00
committed by Lee Kelleher
parent bfe9777649
commit 5ee5b947a1

View File

@@ -119,7 +119,7 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
return html`
<umb-body-layout headline=${this.localize.term('actions_create')}>
${when(
this._availableBlueprints.length === 0 && this.#documentTypeUnique,
this._availableBlueprints.length && this.#documentTypeUnique,
() => this.#renderBlueprints(),
() => this.#renderDocumentTypes(),
)}