Merge pull request #4464 from Budibase/fix/button-actions-ui

Remount button action components fully
This commit is contained in:
Andrew Kingston 2022-02-14 09:26:11 +00:00 committed by GitHub
commit f2ce1990a1
1 changed files with 9 additions and 7 deletions

View File

@ -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>