mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: empty state for variables
This commit is contained in:
1 parent
7c11f1edc4
commit
6a29340e18
1 file changed
+3
-1
@@ -3,7 +3,7 @@
|
||||
import { WizardStep } from '$lib/layout';
|
||||
import { template, templateConfig } from '../store';
|
||||
import { FormList, Helper, InputChoice } from '$lib/elements/forms';
|
||||
import { Collapsible, CollapsibleItem } from '$lib/components';
|
||||
import { Card, Collapsible, CollapsibleItem } from '$lib/components';
|
||||
|
||||
async function beforeSubmit() {
|
||||
for (const variable of $template.variables) {
|
||||
@@ -120,5 +120,7 @@
|
||||
</CollapsibleItem>
|
||||
</Collapsible>
|
||||
{/if}
|
||||
{:else}
|
||||
<Card isDashed>There are no environment variables to configure.</Card>
|
||||
{/if}
|
||||
</WizardStep>
|
||||
Reference in new issue
Block a user