2
0

🚑 (condition) Remove null check on comparison value

Closes #572
This commit is contained in:
Baptiste Arnaud
2023-06-22 14:48:12 +02:00
parent bfca8d9368
commit c94cd1e37c

View File

@ -22,7 +22,6 @@ const executeComparison =
if (!comparison?.variableId) return false
const inputValue =
variables.find((v) => v.id === comparison.variableId)?.value ?? null
if (isNotDefined(comparison.value)) return false
const value =
comparison.value === 'undefined' || comparison.value === 'null'
? null