fix for last bugfix

This commit is contained in:
Robert Bendun 2021-04-19 14:39:16 +02:00
parent 46156f34b8
commit 67d2d01075

View File

@ -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 {