rajaramtt / ng7-dynamic-breadcrumb

Angular 10 Dynamic Breadcrumbs
MIT License
42 stars 31 forks source link

Update breadcrumb with URL+query params #43

Open maphe opened 2 years ago

maphe commented 2 years ago

Is there a way to use updateBreadcrumb with a URL that has query params?

Right now if I try something like:

this.breadcrumb.updateBreadcrumb([
      { label: 'Home', url: '/home' },
      { label: 'Page', url: '/page?param=something' },
]);

the rendered URL is /page%3Fparam%3Dsomething which is breaking the page.