Move eject block button into its own section

This commit is contained in:
Andrew Kingston 2022-11-22 15:49:00 +00:00
parent b71b5704da
commit c3c293ce2b
1 changed files with 5 additions and 3 deletions

View File

@ -150,9 +150,11 @@
{#if idx === 0 && componentDefinition?.component?.endsWith("/fieldgroup")} {#if idx === 0 && componentDefinition?.component?.endsWith("/fieldgroup")}
<ResetFieldsButton {componentInstance} /> <ResetFieldsButton {componentInstance} />
{/if} {/if}
{#if idx === 0 && componentDefinition?.block}
<EjectBlockButton />
{/if}
</DetailSummary> </DetailSummary>
{/if} {/if}
{/each} {/each}
{#if componentDefinition?.block}
<DetailSummary name="Eject" collapsible={false}>
<EjectBlockButton />
</DetailSummary>
{/if}