mario-core 2.9.203-release → 2.9.204-release
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/dist/index.modern.js
CHANGED
|
@@ -30403,7 +30403,9 @@ var useCategorySelector = function useCategorySelector() {
|
|
|
30403
30403
|
});
|
|
30404
30404
|
noParentCategories.forEach(function (c) {
|
|
30405
30405
|
var childrenOfCategory = categories.filter(function (cg) {
|
|
30406
|
-
|
|
30406
|
+
var _cg$parentCategoryId;
|
|
30407
|
+
|
|
30408
|
+
return (_cg$parentCategoryId = cg.parentCategoryId) === null || _cg$parentCategoryId === void 0 ? void 0 : _cg$parentCategoryId.includes(c.id);
|
|
30407
30409
|
});
|
|
30408
30410
|
|
|
30409
30411
|
var category = _extends({}, c, {
|
|
@@ -30419,7 +30421,9 @@ var useCategorySelector = function useCategorySelector() {
|
|
|
30419
30421
|
result.push(parent);
|
|
30420
30422
|
children === null || children === void 0 ? void 0 : children.forEach(function (c) {
|
|
30421
30423
|
var childrenOfCategory = categories.filter(function (cg) {
|
|
30422
|
-
|
|
30424
|
+
var _cg$parentCategoryId2;
|
|
30425
|
+
|
|
30426
|
+
return (_cg$parentCategoryId2 = cg.parentCategoryId) === null || _cg$parentCategoryId2 === void 0 ? void 0 : _cg$parentCategoryId2.includes(c.id);
|
|
30423
30427
|
});
|
|
30424
30428
|
|
|
30425
30429
|
var category = _extends({}, c, {
|