mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
fix(editor): Fix NDV close after using input select (#7544)
This commit is contained in:
@@ -344,7 +344,7 @@ export default defineComponent({
|
||||
return Math.min(this.runOutputIndex, this.maxOutputRun);
|
||||
},
|
||||
maxInputRun(): number {
|
||||
if (this.inputNode === null && this.activeNode === null) {
|
||||
if (this.inputNode === null || this.activeNode === null) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -355,7 +355,7 @@ export default defineComponent({
|
||||
|
||||
const runData: IRunData | null = this.workflowRunData;
|
||||
|
||||
if (outputs.filter((output) => output !== NodeConnectionType.Main).length) {
|
||||
if (outputs.some((output) => output !== NodeConnectionType.Main)) {
|
||||
node = this.activeNode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user