Remount button action components fully when changing action to prevent stale UI
This commit is contained in:
parent
3f46eb4fd0
commit
c7edfa7f59
|
@ -126,6 +126,7 @@
|
||||||
</Layout>
|
</Layout>
|
||||||
<Layout noPadding>
|
<Layout noPadding>
|
||||||
{#if selectedActionComponent}
|
{#if selectedActionComponent}
|
||||||
|
{#key selectedAction.id}
|
||||||
<div class="selected-action-container">
|
<div class="selected-action-container">
|
||||||
<svelte:component
|
<svelte:component
|
||||||
this={selectedActionComponent}
|
this={selectedActionComponent}
|
||||||
|
@ -133,6 +134,7 @@
|
||||||
bindings={allBindings}
|
bindings={allBindings}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
{/key}
|
||||||
{/if}
|
{/if}
|
||||||
</Layout>
|
</Layout>
|
||||||
</DrawerContent>
|
</DrawerContent>
|
||||||
|
|
Loading…
Reference in New Issue