1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00

Remount button action components fully when changing action to prevent stale UI

This commit is contained in:
Andrew Kingston 2022-02-13 15:18:54 +00:00
parent 3f46eb4fd0
commit c7edfa7f59

View file

@ -126,6 +126,7 @@
</Layout>
<Layout noPadding>
{#if selectedActionComponent}
{#key selectedAction.id}
<div class="selected-action-container">
<svelte:component
this={selectedActionComponent}
@ -133,6 +134,7 @@
bindings={allBindings}
/>
</div>
{/key}
{/if}
</Layout>
</DrawerContent>