fix for last bugfix
This commit is contained in:
parent
46156f34b8
commit
67d2d01075
@ -11,7 +11,7 @@ class Products {
|
||||
const gridProductsAmountColumn = []
|
||||
|
||||
for (let j = 0; j < 9; ++j) {
|
||||
if (j % 3 !== 1 && i % 7 !== 0) {
|
||||
if (j % 3 !== 1 && (i+1) % 7 !== 0) {
|
||||
gridProductsColumn.push(Product.RANDOM_FROM_REGISTRY());
|
||||
gridProductsAmountColumn.push(floor(random() * 51));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user