diff --git a/src/lib/wizards/functions/steps/templateVariables.svelte b/src/lib/wizards/functions/steps/templateVariables.svelte index e832a73cd..d7a44179e 100644 --- a/src/lib/wizards/functions/steps/templateVariables.svelte +++ b/src/lib/wizards/functions/steps/templateVariables.svelte @@ -63,7 +63,7 @@ {#if $template?.variables?.length} {#if requiredVariables?.length} - {#if requiredVariables?.length === 1} + {#if requiredVariables?.length === 1 || requiredVariables.every((variable) => variable.required)}