Move eject block button into its own section

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

View File

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