From 7ee03cf132492569a0302b75886d0cdd983841ed Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Sun, 9 Feb 2020 23:18:44 -0800 Subject: [PATCH] :zap: Ignore node-credential-issues on disabled nodes --- packages/cli/src/WorkflowCredentials.ts | 2 +- packages/editor-ui/src/components/Node.vue | 10 +---- .../editor-ui/src/components/NodeSettings.vue | 14 ------- .../src/components/mixins/nodeHelpers.ts | 37 +++++++++++++++++++ packages/editor-ui/src/views/NodeView.vue | 14 +------ 5 files changed, 40 insertions(+), 37 deletions(-) diff --git a/packages/cli/src/WorkflowCredentials.ts b/packages/cli/src/WorkflowCredentials.ts index f46e7661bd..bd02acabf7 100644 --- a/packages/cli/src/WorkflowCredentials.ts +++ b/packages/cli/src/WorkflowCredentials.ts @@ -13,7 +13,7 @@ export async function WorkflowCredentials(nodes: INode[]): Promise { - // Toggle disabled flag - updateInformation = { - name: node.name, - properties: { - disabled: !node.disabled, - }, - }; - - this.$store.commit('updateNodeProperties', updateInformation); - }); + this.disableNodes(this.$store.getters.getSelectedNodes); }, deleteSelectedNodes () {