mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⏪ Revert "Generalize cred comp positioning"
This reverts commit 75eea89273
.
This commit is contained in:
parent
75eea89273
commit
2eaf05ea21
|
@ -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;
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue