We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have the following route:
/foo/:id
When I add this route manually as a breadcrumb then the route parameter doesn't get resolved.
I've tried it as follows:
this.breadcrumbs.store([{ label: 'foo', url: '/foo', params: ['123456'] }]) this.breadcrumbs.store([{ label: 'foo', url: '/foo', params: [{ id: '123456' }] }]) this.breadcrumbs.store([{ label: 'foo', url: '/foo', params: { id: '123456' } }]) this.breadcrumbs.store([{ label: 'foo', url: '/foo/', params: ['123456'] }]) this.breadcrumbs.store([{ label: 'foo', url: '/foo/', params: [{ id: '123456' }] }]) this.breadcrumbs.store([{ label: 'foo', url: '/foo/', params: { id: '123456' } }]) this.breadcrumbs.store([{ label: 'foo', url: '/foo/:id', params: ['123456'] }]) this.breadcrumbs.store([{ label: 'foo', url: '/foo/:id', params: [{ id: '123456' }] }]) this.breadcrumbs.store([{ label: 'foo', url: '/foo/:id', params: { id: '123456' } }])
It only works when I add the route parameter directly to the url:
this.breadcrumbs.store([{ label: 'foo', url: '/foo/123456', params: [] }])
But why do I need params then?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have the following route:
/foo/:id
When I add this route manually as a breadcrumb then the route parameter doesn't get resolved.
I've tried it as follows:
It only works when I add the route parameter directly to the url:
this.breadcrumbs.store([{ label: 'foo', url: '/foo/123456', params: [] }])
But why do I need params then?
The text was updated successfully, but these errors were encountered: