@infrab4a/connect 4.0.0-beta.24 → 4.0.0-beta.25
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/esm2020/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.mjs +4 -2
- package/fesm2015/infrab4a-connect.mjs +1 -1
- package/fesm2015/infrab4a-connect.mjs.map +1 -1
- package/fesm2020/infrab4a-connect.mjs +3 -1
- package/fesm2020/infrab4a-connect.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2022,7 +2022,9 @@ class HomeFirestoreRepository extends withCrudFirestore(withHelpers(withFirestor
|
|
|
2022
2022
|
category: homeCategoryGroup?.category?.toPlain
|
|
2023
2023
|
? homeCategoryGroup?.category?.toPlain()
|
|
2024
2024
|
: homeCategoryGroup?.category,
|
|
2025
|
-
products: homeCategoryGroup?.products
|
|
2025
|
+
products: homeCategoryGroup?.products
|
|
2026
|
+
?.map((product) => (product?.toPlain ? product?.toPlain() : product))
|
|
2027
|
+
.filter(Boolean) || [],
|
|
2026
2028
|
});
|
|
2027
2029
|
this.plainToHomeCategoryGroup = (homeCategoryGroup) => ({
|
|
2028
2030
|
category: Category.toInstance(homeCategoryGroup?.category),
|