Fixed bug

This commit is contained in:
dbroqua 2019-04-11 12:57:48 +02:00
parent 9dc6c5385f
commit f67c8e0167

View file

@ -24,7 +24,7 @@ class VegetableTypes {
let res = [] let res = []
for (let i = 0; i < items.rows.length; i += 1) { for (let i = 0; i < items.rows.length; i += 1) {
let type = items[i].rows.toJSON() let type = items.rows[i].toJSON()
let vegetables = [] let vegetables = []
for (let j = 0; j < type.Vegetables.length; j += 1) { for (let j = 0; j < type.Vegetables.length; j += 1) {