Skip to content
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

Multiple breadcrumbs being shown none are correct #19

Open
jackweldon opened this issue Jun 28, 2018 · 0 comments
Open

Multiple breadcrumbs being shown none are correct #19

jackweldon opened this issue Jun 28, 2018 · 0 comments

Comments

@jackweldon
Copy link

jackweldon commented Jun 28, 2018

My issue is that I get two breadcrumbs being displayed, one with a link to the root and another which is always plain text. This image should illustrate this issue better:
image

Routes.ts
{ path: 'products', data: { text: 'Products', nav: true, breadcrumbs: true }, children: [ { path: '', component: ProductDirectoryComponent, }, { path: ':group', component: ProductGroupComponent, data: { breadcrumbs: true }, }, { path: ':group/:category', component: ProductCategoryComponent, data: { breadcrumbs: true }, }, ] },

I then place <mc-breadcrumbs></mc-breadcrumbs>
within the ProductGroupComponent and in the ProductCategoryComponent because it should only be appearing on those two templates.

Not sure if I have implemented something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant