Skip to content

Commit

Permalink
fix(editor): Fix node connection showing incorrect item count during …
Browse files Browse the repository at this point in the history
…execution in certain cases
  • Loading branch information
tomi committed Jun 10, 2024
1 parent 1e15f73 commit 51fb249
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/editor-ui/src/components/Node.vue
Original file line number Diff line number Diff line change
Expand Up @@ -658,12 +658,15 @@ export default defineComponent({
this.showTriggerNodeTooltip = false;
}
},
nodeRunData(newValue) {
if (!this.data) {
return;
}
nodeRunData: {
deep: true,
handler(newValue) {
if (!this.data) {
return;
}
this.$emit('run', { name: this.data.name, data: newValue, waiting: !!this.waiting });
this.$emit('run', { name: this.data.name, data: newValue, waiting: !!this.waiting });
},
},
},
created() {
Expand Down

0 comments on commit 51fb249

Please sign in to comment.