Skip to content

Commit

Permalink
Remount button action components fully when changing action to preven…
Browse files Browse the repository at this point in the history
…t stale UI
  • Loading branch information
aptkingston committed Feb 13, 2022
1 parent 3a42c4c commit e84f998
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,15 @@
</Layout>
<Layout noPadding>
{#if selectedActionComponent}
<div class="selected-action-container">
<svelte:component
this={selectedActionComponent}
parameters={selectedAction.parameters}
bindings={allBindings}
/>
</div>
{#key selectedAction.id}
<div class="selected-action-container">
<svelte:component
this={selectedActionComponent}
parameters={selectedAction.parameters}
bindings={allBindings}
/>
</div>
{/key}
{/if}
</Layout>
</DrawerContent>
Expand Down

0 comments on commit e84f998

Please sign in to comment.