Merge pull request #176 from appwrite/fix-4743-update-function-variables

Update function settings to recreate Variable modal with correct selectedVar
This commit is contained in:
Torsten Dittmann
2022-11-22 09:56:11 +01:00
committed by GitHub
@@ -570,10 +570,12 @@
</Container>
<Delete bind:showDelete />
<Variable
bind:selectedVar
bind:showCreate={showVariablesModal}
on:created={handleVariableCreated}
on:updated={handleVariableUpdated} />
{#if showVariablesModal}
<Variable
bind:selectedVar
bind:showCreate={showVariablesModal}
on:created={handleVariableCreated}
on:updated={handleVariableUpdated} />
{/if}
<!-- <Upload bind:show={showVariablesUpload} on:uploaded={handleVariableCreated} /> -->
<EventModal bind:show={showEvents} on:created={handleEvent} />