keevo-components 1.5.118 → 1.5.119
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.
|
@@ -2318,10 +2318,7 @@ class MenuComponent {
|
|
|
2318
2318
|
}
|
|
2319
2319
|
const breadcrumbLabel = childRoute.snapshot.data['breadcrumb'];
|
|
2320
2320
|
if (breadcrumbLabel) {
|
|
2321
|
-
|
|
2322
|
-
const segments = tree.root.children['primary'].segments;
|
|
2323
|
-
const breadcrumbUrl = segments.map(segment => segment.path).join('/');
|
|
2324
|
-
breadcrumbs.push({ label: breadcrumbLabel, routerLink: `/${breadcrumbUrl}` });
|
|
2321
|
+
breadcrumbs.push({ label: breadcrumbLabel, routerLink: url });
|
|
2325
2322
|
}
|
|
2326
2323
|
return this.getBreadcrumbs(childRoute, url, breadcrumbs);
|
|
2327
2324
|
}
|
|
@@ -2365,6 +2362,7 @@ class MenuComponent {
|
|
|
2365
2362
|
callRoute(e, expand) {
|
|
2366
2363
|
if (!expand)
|
|
2367
2364
|
!this.expandMenu ? this.expandMenu = !this.expandMenu : '';
|
|
2365
|
+
console.log(e, 'callRoute');
|
|
2368
2366
|
this.router.navigateByUrl(e);
|
|
2369
2367
|
}
|
|
2370
2368
|
toggleMenu() {
|