From 2eaf05ea216091b58cb476171ac9251f950c2483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Thu, 5 May 2022 09:36:53 +0200 Subject: [PATCH] :rewind: Revert "Generalize cred comp positioning" This reverts commit 75eea89273b854110fa6d1f96c7c1d78dd3b0731. --- .../editor-ui/src/components/ParameterInputList.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/editor-ui/src/components/ParameterInputList.vue b/packages/editor-ui/src/components/ParameterInputList.vue index e874e7b092..89d2d3b838 100644 --- a/packages/editor-ui/src/components/ParameterInputList.vue +++ b/packages/editor-ui/src/components/ParameterInputList.vue @@ -134,18 +134,10 @@ export default mixins( return this.$store.getters.activeNode; }, indexToShowSlotAt (): number { - // edge cases: credential with two dependencies - if ( - (this.node.type === HTTP_REQUEST_NODE_TYPE && this.node.typeVersion === 2) || - this.node.type === 'n8n-nodes-base.sentryIo' - ) { + if (this.node.type === HTTP_REQUEST_NODE_TYPE && this.node.typeVersion === 2) { return 2; } - if (this.nodeValues.parameters.authentication !== undefined) { - return 1; - } - return 0; }, },