@open-rlb/ng-app 3.0.23 → 3.0.24
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.
|
@@ -516,7 +516,7 @@ class AppsService {
|
|
|
516
516
|
// Return config in there are matched apps, or it's root route case
|
|
517
517
|
map(apps => {
|
|
518
518
|
if (appRoutesMatched.length > 0 || fullPath === '') {
|
|
519
|
-
return { route, appsConfig: appRoutesMatched, apps };
|
|
519
|
+
return { route, appsConfig: appRoutesMatched, apps, fullPath };
|
|
520
520
|
}
|
|
521
521
|
return null;
|
|
522
522
|
}));
|
|
@@ -525,7 +525,7 @@ class AppsService {
|
|
|
525
525
|
const route = this.findDeepestChild(this.activatedRoute);
|
|
526
526
|
const storedId = this.getStoredAppId();
|
|
527
527
|
// Check if route is root
|
|
528
|
-
const currentPath =
|
|
528
|
+
const currentPath = data ? data.fullPath : this.getFullPath(route);
|
|
529
529
|
const isRoot = currentPath === '';
|
|
530
530
|
// Basic check
|
|
531
531
|
if (data?.apps?.some(app => !app.id)) {
|