mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: hide accordion if all are required variables.
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
</svelte:fragment>
|
||||
{#if $template?.variables?.length}
|
||||
{#if requiredVariables?.length}
|
||||
{#if requiredVariables?.length === 1}
|
||||
{#if requiredVariables?.length === 1 || requiredVariables.every((variable) => variable.required)}
|
||||
<div class="collapsible-item">
|
||||
<div class="collapsible-wrapper">
|
||||
<div class="collapsible-button">
|
||||
|
||||
Reference in New Issue
Block a user