1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

fix json parsing of test data

This commit is contained in:
Peter Clement 2021-09-16 14:52:23 +01:00
parent 3b57fd8a7e
commit 749e9441fb

View file

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