From d0c98c7405b28f4519f4eee7ebc080c5e8555d6c Mon Sep 17 00:00:00 2001 From: Arman Date: Fri, 14 Feb 2025 14:21:39 +0100 Subject: [PATCH] fix: optional variables --- .../templates/template-[template]/configuration.svelte | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/routes/(console)/project-[project]/sites/create-site/templates/template-[template]/configuration.svelte b/src/routes/(console)/project-[project]/sites/create-site/templates/template-[template]/configuration.svelte index a7ba8612f..1a2078191 100644 --- a/src/routes/(console)/project-[project]/sites/create-site/templates/template-[template]/configuration.svelte +++ b/src/routes/(console)/project-[project]/sites/create-site/templates/template-[template]/configuration.svelte @@ -72,7 +72,10 @@ {#if requiredVariables?.length} - + Provide the values for the required environment variables to run this application. @@ -108,7 +111,7 @@ {/if} {#if optionalVariables?.length} - + Set up environment variables to securely manage keys and settings for your project. @@ -125,7 +128,7 @@ autocomplete={false} minlength={variable.type === 'password' ? 0 : null} showPasswordButton={variable.type === 'password'} - bind:value={variables[variable.name].value} /> + bind:value={variable.value} />