@rxap/layout 12.2.1 → 12.2.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/rxap-layout.umd.js +2 -1
- package/bundles/rxap-layout.umd.js.map +1 -1
- package/esm2015/lib/navigation/navigation.service.js +2 -1
- package/esm2015/lib/navigation/navigation.service.js.map +1 -1
- package/fesm2015/rxap-layout.js +2 -1
- package/fesm2015/rxap-layout.js.map +1 -1
- package/package.json +1 -1
|
@@ -1668,8 +1668,9 @@
|
|
|
1668
1668
|
})); });
|
|
1669
1669
|
// TODO : dont wait for all status services to complete, but cancel waiting if one returns false
|
|
1670
1670
|
return rxjs$1.combineLatest(isVisibleArray$).pipe(operators.map(function (isVisibleArray) { return isVisibleArray.reduce(function (acc, isVisible) { return acc && isVisible; }, true); }), operators.map(function (isVisible) { return (isVisible ? navigationItem : null); }), operators.switchMap(function (navigationItemOrNull) {
|
|
1671
|
+
var _a;
|
|
1671
1672
|
if (navigationItemOrNull) {
|
|
1672
|
-
if (navigationItemOrNull.children) {
|
|
1673
|
+
if ((_a = navigationItemOrNull.children) === null || _a === void 0 ? void 0 : _a.length) {
|
|
1673
1674
|
return _this.checkNavigationStatusProviders(navigationItemOrNull.children).pipe(operators.map(function (children) { return (Object.assign(Object.assign({}, navigationItemOrNull), { children: children })); }));
|
|
1674
1675
|
}
|
|
1675
1676
|
return rxjs$1.of(navigationItemOrNull);
|