diff --git a/lerna.json b/lerna.json index 8e53ea97a9..7c11782043 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "3.0.3", + "version": "3.0.4", "npmClient": "yarn", "packages": [ "packages/*", diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index b05d8a2b17..0d76983c75 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -645,7 +645,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} @@ -670,7 +670,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)} @@ -693,7 +693,7 @@
{/if}
- {#if value.type === "string" && value.enum && canShowField(key, value)} + {#if value.type === "string" && value.enum && canShowField(value)}