fix: missing modals

This commit is contained in:
Arman
2023-08-22 19:00:35 +02:00
parent 8bd8e582ac
commit cf5078aaba
2 changed files with 6 additions and 4 deletions
@@ -19,8 +19,9 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header"
>{isConflicting ? 'Overwrite global variable' : 'Promote variable'}</svelte:fragment>
<svelte:fragment slot="title">
{isConflicting ? 'Overwrite global variable' : 'Promote variable'}
</svelte:fragment>
{#if isConflicting}
<p data-private>
Promoting this variable will overwrite your global variable with the same name. Are you
@@ -61,8 +61,9 @@
</script>
<Modal headerDivider={false} bind:show onSubmit={handleSubmit} bind:error>
<svelte:fragment slot="header"
>Import new {isGlobal ? 'global' : 'environment'} variables</svelte:fragment>
<svelte:fragment slot="title">
Import new {isGlobal ? 'global' : 'environment'} variables
</svelte:fragment>
<div class="u-flex u-flex-vertical u-gap-24">
<p>
Import new {isGlobal ? 'global' : 'environment'} variables from .env file that will be passed