From 51fb249d0ac1fdc59727d1bea01380fff590a72c Mon Sep 17 00:00:00 2001 From: Tomi Turtiainen <10324676+tomi@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:07:49 +0300 Subject: [PATCH] fix(editor): Fix node connection showing incorrect item count during execution in certain cases --- packages/editor-ui/src/components/Node.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/editor-ui/src/components/Node.vue b/packages/editor-ui/src/components/Node.vue index 9dd4af5130d11..2668281e86acd 100644 --- a/packages/editor-ui/src/components/Node.vue +++ b/packages/editor-ui/src/components/Node.vue @@ -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() {