fix: modal not showing title.

This commit is contained in:
Darshan
2024-12-31 09:21:08 +05:30
parent 9a73fd2d5a
commit 010e46cdd9
@@ -63,15 +63,14 @@
error = e.message;
}
}
const title = `Import new ${isGlobal ? 'global' : 'environment'} variables`;
</script>
<Modal headerDivider={false} bind:show onSubmit={handleSubmit} bind:error>
<svelte:fragment slot="title">
Import new {isGlobal ? 'global' : 'environment'} variables
</svelte:fragment>
<Modal {title} bind:show bind:error headerDivider={false} onSubmit={handleSubmit}>
<div class="u-flex u-flex-vertical u-gap-24 u-margin-block-start-8">
<p>
Import new {isGlobal ? 'global' : 'environment'} variables from
{title} from
<span class="inline-code">.env</span>
file that will be passed to {!isGlobal
? `your ${product}`