@infrab4a/connect 0.13.3-beta.0 → 0.13.3-beta.2
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.
- package/bundles/infrab4a-connect.umd.js +4 -1
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +5 -2
- package/fesm2015/infrab4a-connect.js +4 -1
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/package.json +1 -1
|
@@ -2086,7 +2086,10 @@
|
|
|
2086
2086
|
return [4 /*yield*/, this.mountCategory(category)];
|
|
2087
2087
|
case 4:
|
|
2088
2088
|
products = _b.sent();
|
|
2089
|
-
homeSections.push({
|
|
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();
|