Fix crash when adding conditions with no values

This commit is contained in:
Andrew Kingston 2025-02-17 12:47:08 +00:00
parent ce3d18972f
commit 2b4d817c63
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -122,7 +122,10 @@
return conditions?.map(condition => {
return {
...condition,
referenceValue: processStringSync(condition.referenceValue, context),
referenceValue: processStringSync(
condition.referenceValue || "",
context
),
}
})
}