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.js
CHANGED
|
@@ -30406,7 +30406,9 @@ var useCategorySelector = function useCategorySelector() {
|
|
|
30406
30406
|
});
|
|
30407
30407
|
noParentCategories.forEach(function (c) {
|
|
30408
30408
|
var childrenOfCategory = categories.filter(function (cg) {
|
|
30409
|
-
|
|
30409
|
+
var _cg$parentCategoryId;
|
|
30410
|
+
|
|
30411
|
+
return (_cg$parentCategoryId = cg.parentCategoryId) === null || _cg$parentCategoryId === void 0 ? void 0 : _cg$parentCategoryId.includes(c.id);
|
|
30410
30412
|
});
|
|
30411
30413
|
|
|
30412
30414
|
var category = _extends({}, c, {
|
|
@@ -30422,7 +30424,9 @@ var useCategorySelector = function useCategorySelector() {
|
|
|
30422
30424
|
result.push(parent);
|
|
30423
30425
|
children === null || children === void 0 ? void 0 : children.forEach(function (c) {
|
|
30424
30426
|
var childrenOfCategory = categories.filter(function (cg) {
|
|
30425
|
-
|
|
30427
|
+
var _cg$parentCategoryId2;
|
|
30428
|
+
|
|
30429
|
+
return (_cg$parentCategoryId2 = cg.parentCategoryId) === null || _cg$parentCategoryId2 === void 0 ? void 0 : _cg$parentCategoryId2.includes(c.id);
|
|
30426
30430
|
});
|
|
30427
30431
|
|
|
30428
30432
|
var category = _extends({}, c, {
|