Move eject block button into its own section
This commit is contained in:
parent
b71b5704da
commit
c3c293ce2b
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue