We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e43bb9 commit 3d7d70bCopy full SHA for 3d7d70b
ui/src/workflow/nodes/condition-node/index.vue
@@ -326,7 +326,7 @@ function deleteCondition(index: number, cIndex: number) {
326
}
327
328
function changeCondition(val: string, index: number, cIndex: number) {
329
- if (val === 'is_null' || val === 'is_not_null') {
+ if (['is_null', 'is_not_null', 'is_true', 'is_not_true'].includes(val)) {
330
const list = cloneDeep(props.nodeModel.properties.node_data.branch)
331
list[index]['conditions'][cIndex].value = 1
332
set(props.nodeModel.properties.node_data, 'branch', list)
0 commit comments