-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breadcrumbs not displaying with resolver #24
Comments
I have exactly the same problem... I imagine it's related how it's handled this._resolveCrumbs(route) in mc-breadcrumbs.service but I'm not very familiar with this. |
Better approach here is to use resolver to retrieve data and store in route data.
some routing example :
Usage in BreadcrumbsResolver
|
Can anyone help me out here? I have a custom Breadcrumb resolver to get names of events and there units from dynamic data, logging shows the array of breadcrumbs is compiled correctly but I only get a "1." displayed where the breadcrumb is supposed to be.
Is the following the correct way to return Observable<IBreadcrumb[]>?
I am using Angular 6 and have used the git repo and built out the Angular 6 converted version.
BreadcrumbResolver
Routing Module
Logged breadcrumbs
How it looks in the DOM
The text was updated successfully, but these errors were encountered: