Merge branch 'main' into v14/bugfix/use-property-editor-ui-alias-for-config-options

This commit is contained in:
Niels Lyngsø
2024-07-30 10:14:05 +02:00
committed by GitHub

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(),
)}