From 1500afe6898dd36eb2da3055b7aac0ed49972f05 Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Date: Fri, 26 Nov 2021 12:35:34 +0100 Subject: [PATCH] :bug: hide tooltip after trigger node is run (#2483) * hide tooltip after trigger node is run * remove executing --- packages/editor-ui/src/components/Node.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/Node.vue b/packages/editor-ui/src/components/Node.vue index fd3ffb8a3d..3c0df1ed85 100644 --- a/packages/editor-ui/src/components/Node.vue +++ b/packages/editor-ui/src/components/Node.vue @@ -243,7 +243,7 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext return !!(this.nodeType && this.nodeType.outputs.length > 2); }, shouldShowTriggerTooltip () : boolean { - return !!this.node && this.workflowRunning && this.isTriggerNode && this.isSingleActiveTriggerNode && !this.isTriggerNodeTooltipEmpty && !this.isNodeDisabled && !this.hasIssues && !this.dragging; + return !!this.node && this.workflowRunning && this.workflowDataItems === 0 && this.isTriggerNode && this.isSingleActiveTriggerNode && !this.isTriggerNodeTooltipEmpty && !this.isNodeDisabled && !this.hasIssues && !this.dragging; }, }, watch: {