fix error state while executing

This commit is contained in:
Mutasem 2021-11-02 15:45:55 +01:00
parent 6a82603654
commit 1b8ab5de58

View file

@ -170,7 +170,7 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
if (this.data.disabled) { if (this.data.disabled) {
borderColor = getStyleTokenValue('--color-foreground-base'); borderColor = getStyleTokenValue('--color-foreground-base');
} }
else if (this.hasIssues && this.workflowDataItems) { else if (this.hasIssues && this.workflowDataItems && !this.isExecuting) {
borderColor = getStyleTokenValue('--color-danger'); borderColor = getStyleTokenValue('--color-danger');
} }
else if (this.workflowDataItems && !this.isExecuting) { else if (this.workflowDataItems && !this.isExecuting) {