Only render collection dialogs when active

This commit is contained in:
Torsten Dittmann
2025-03-27 00:28:03 +01:00
parent 28b41d35c6
commit 1f34d58736
@@ -208,5 +208,9 @@
<slot />
<CreateAttribute {...$createAttributeArgs} />
<CreateIndex bind:showCreateIndex={$showCreateIndex} />
{#if $createAttributeArgs.showCreate}
<CreateAttribute {...$createAttributeArgs} />
{/if}
{#if $showCreateIndex}
<CreateIndex bind:showCreateIndex={$showCreateIndex} />
{/if}