+
+ if (this.preset.cat !== undefined) {
+ rows = [];
+ let children = this.cats[this.preset.cat];
+ for (let loop = 0; children.length && loop < 20; loop++) {
+ rows.push(...children);
+ children = children.map(cat => this.cats[cat]).filter(is => is).flat();
+ }
+ rows = rows.map(row => json[row]).filter(row => row[2]);
+ }