fix json parsing of test data
This commit is contained in:
parent
3b57fd8a7e
commit
749e9441fb
|
@ -18,7 +18,7 @@
|
||||||
// get the outputs so we can define the fields
|
// get the outputs so we can define the fields
|
||||||
|
|
||||||
// check to see if there is existing test data in the store
|
// 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
|
// Check the schema to see if required fields have been entered
|
||||||
$: isError = !trigger.schema.outputs.required.every(
|
$: isError = !trigger.schema.outputs.required.every(
|
||||||
required => testData[required]
|
required => testData[required]
|
||||||
|
|
Loading…
Reference in New Issue