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