diff --git a/packages/editor-ui/src/components/ParameterInputList.vue b/packages/editor-ui/src/components/ParameterInputList.vue index 89d2d3b838ffd..e874e7b092ffb 100644 --- a/packages/editor-ui/src/components/ParameterInputList.vue +++ b/packages/editor-ui/src/components/ParameterInputList.vue @@ -134,10 +134,18 @@ export default mixins( return this.$store.getters.activeNode; }, indexToShowSlotAt (): number { - if (this.node.type === HTTP_REQUEST_NODE_TYPE && this.node.typeVersion === 2) { + // 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' + ) { return 2; } + if (this.nodeValues.parameters.authentication !== undefined) { + return 1; + } + return 0; }, },