update node verification bug for boolean field

This commit is contained in:
anovazzi1 2023-04-18 22:32:54 -03:00
commit 38aa051bf9

View file

@ -93,7 +93,7 @@ export default function Chat({ flow, reactFlowInstance }: ChatType) {
(errors: Array<string>, t) =>
errors.concat(
(template[t].required && template[t].show) &&
(!template[t].value || template[t].value === "") &&
(template[t].value===undefined || template[t].value === "") &&
!reactFlowInstance
.getEdges()
.some(