From bbeb582dda01fd6c9af7861ccfc4258dcc69a51f Mon Sep 17 00:00:00 2001 From: Mutasem Date: Tue, 9 Nov 2021 09:38:26 +0100 Subject: [PATCH] update wait node border --- packages/editor-ui/src/components/Node.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/editor-ui/src/components/Node.vue b/packages/editor-ui/src/components/Node.vue index 4957171e43..e806f844c2 100644 --- a/packages/editor-ui/src/components/Node.vue +++ b/packages/editor-ui/src/components/Node.vue @@ -190,11 +190,16 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext if (this.data.disabled) { borderColor = getStyleTokenValue('--color-foreground-base'); } - else if (this.hasIssues && !this.isExecuting) { - borderColor = getStyleTokenValue('--color-danger'); - } - else if (this.workflowDataItems && !this.isExecuting) { - borderColor = getStyleTokenValue('--color-success'); + else if (!this.isExecuting) { + if (this.hasIssues) { + borderColor = getStyleTokenValue('--color-danger'); + } + else if (this.waiting) { + borderColor = getStyleTokenValue('--color-secondary'); + } + else if (this.workflowDataItems) { + borderColor = getStyleTokenValue('--color-success'); + } } const returnStyles: {