fix: update variables modal

This commit is contained in:
Arman committed 2023-08-10 16:24:51 +02:00
1 parent f2ba163a8a
commit cebd5db0bf
1 file changed
+4 -4
@@ -62,11 +62,11 @@
<Modal headerDivider={false} bind:show onSubmit={handleSubmit} bind:error>
<svelte:fragment slot="header"
>Import {isGlobal ? 'global' : 'environment'} variables</svelte:fragment>
>Import new {isGlobal ? 'global' : 'environment'} variables</svelte:fragment>
<div class="u-flex u-flex-vertical u-gap-24">
<p>
Upload multiple {isGlobal ? 'global' : 'environment'} variables via a .env file that will
be passed to {isGlobal ? 'all functions within your project' : 'your function'}.
Import new {isGlobal ? 'global' : 'environment'} variables from .env file that will be passed
to {isGlobal ? 'all functions within your project' : 'your function'}.
</p>
{#if variableList.total > 0}
@@ -81,6 +81,6 @@
<svelte:fragment slot="footer">
<Button text on:click={() => (show = false)}>Cancel</Button>
<Button submit>Upload</Button>
<Button submit>Import</Button>
</svelte:fragment>
</Modal>