From 1b2182a6904c4bf0c1504116782e2505a5162f31 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 19 Jul 2024 11:35:25 +0200 Subject: [PATCH] Run without required --- .../automation/AutomationBuilder/FlowChart/TestDataModal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte index 2a553f8b48..f656a1ecb9 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte @@ -81,7 +81,7 @@ // Check the schema to see if required fields have been entered $: isError = !isTriggerValid(trigger) || - !trigger.schema.outputs.required?.every( + !(trigger.schema.outputs.required || []).every( required => $memoTestData?.[required] || required !== "row" )