Browse Source

fix json parsing of test data

pull/4023/head
Peter Clement 5 years ago
parent
commit
0d2854b464
  1. 2
      packages/builder/src/components/automation/AutomationBuilder/FlowChart/TestDataModal.svelte

2
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]

Loading…
Cancel
Save