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 bbb63a5 commit 675d236Copy full SHA for 675d236
ui/src/workflow/nodes/condition-node/index.vue
@@ -248,6 +248,9 @@ function onEnd(event?: any) {
248
if (oldIndex === undefined || newIndex === undefined) return
249
const list = cloneDeep(props.nodeModel.properties.node_data.branch)
250
if (oldIndex === list.length - 1 || newIndex === list.length - 1) {
251
+ list[newIndex] = list[oldIndex]
252
+ list[oldIndex] = clonedData
253
+ set(props.nodeModel.properties.node_data, 'branch', list)
254
return
255
}
256
list[newIndex].type = list[oldIndex].type
0 commit comments