Run without required

This commit is contained in:
Adria Navarro 2024-07-19 11:35:25 +02:00
parent e0d3855945
commit 1b2182a690
1 changed files with 1 additions and 1 deletions

View File

@ -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"
)