From 0d2854b464844f6909b70df9dff484a1e1e39533 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Thu, 16 Sep 2021 14:52:23 +0100 Subject: [PATCH] fix json parsing of test data --- .../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 cce9c14a23..d05c8fa326 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte @@ -18,7 +18,7 @@ // get the outputs so we can define the fields // check to see if there is existing test data in the store - let testData = $automationStore.selectedAutomation.automation.testData + $: testData = $automationStore.selectedAutomation.automation.testData // Check the schema to see if required fields have been entered $: isError = !trigger.schema.outputs.required.every( required => testData[required]