@infrab4a/connect 0.13.3-beta.1 → 0.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2086,7 +2086,10 @@
2086
2086
  return [4 /*yield*/, this.mountCategory(category)];
2087
2087
  case 4:
2088
2088
  products = _b.sent();
2089
- homeSections.push({ category: category, products: products.splice(0, limit) });
2089
+ homeSections.push({
2090
+ category: category,
2091
+ products: products.filter(function (product) { return product.stock.quantity > 0; }).splice(0, limit),
2092
+ });
2090
2093
  _b.label = 5;
2091
2094
  case 5:
2092
2095
  categories_1_1 = categories_1.next();