fix(core, editor): prevent overlapping runData and pinData (#4323)

🐛 Prevent overlapping `runData` and `pinData`
This commit is contained in:
Iván Ovejero
2022-10-12 16:13:59 +02:00
committed by GitHub
parent 2d4202d051
commit cd74c3ebae
3 changed files with 20 additions and 5 deletions

View File

@@ -959,6 +959,10 @@ export default mixins(
return option + this.$locale.baseText('ndv.output.of') + (this.maxRunIndex+1) + itemsLabel;
},
getDataCount(runIndex: number, outputIndex: number) {
if (this.pinData) {
return this.pinData.length;
}
if (this.node === null) {
return 0;
}