diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index b422154290..6a8d6fb9c2 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -865,7 +865,7 @@ {#if stepLayouts[block.stepId]} {#each Object.keys(stepLayouts[block.stepId] || {}) as key} - {#if canShowField(key, stepLayouts[block.stepId].schema)} + {#if canShowField(stepLayouts[block.stepId].schema)} {#each stepLayouts[block.stepId][key].content as config} {#if config.title} @@ -890,7 +890,7 @@ {:else} {#each schemaProperties as [key, value]} - {#if canShowField(key, value)} + {#if canShowField(value)} {@const label = getFieldLabel(key, value)}
{#if key !== "fields" && value.type !== "boolean" && shouldRenderField(value)} @@ -913,7 +913,7 @@
{/if}
- {#if value.type === "string" && value.enum && canShowField(key, value)} + {#if value.type === "string" && value.enum && canShowField(value)}