Fix possible undefined reference

This commit is contained in:
Adria Navarro 2024-07-18 17:19:34 +02:00
parent 19d614b329
commit bb4fd4c14c
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 // Check the schema to see if required fields have been entered
$: isError = $: isError =
!isTriggerValid(trigger) || !isTriggerValid(trigger) ||
!trigger.schema.outputs.required.every( !trigger.schema.outputs.required?.every(
required => $memoTestData?.[required] || required !== "row" required => $memoTestData?.[required] || required !== "row"
) )