fix(FlowSubstep): count 0 as value towards required check

This commit is contained in:
Ali BARIN
2023-06-01 13:28:36 +02:00
parent 8a6d8a7d8c
commit f586e81dd1
@@ -36,7 +36,7 @@ const validateSubstep = (substep: ISubstep, step: IStep) => {
// `false` is an exceptional valid value
if (argValue === false) return true;
return Boolean(argValue);
return argValue !== undefined && argValue !== null;
});
};