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

displayname is not showing when passing response data in breadcrum service #24

Open
suriyaJaay opened this issue Sep 29, 2021 · 2 comments

Comments

@suriyaJaay
Copy link

suriyaJaay commented Sep 29, 2021

Hi,

Could you pls help me how to achieve below breadcrumbs format ?

Users List > View User > John

in my view-user-component.ts
am calling breadcurmb service after resp like this

if(resp){
 this.breadcrumbService.changeBreadcrumb(this.activatedRoute.snapshot, resp.firstName);
|

user-routing-module.ts

 { path: 'view-user/:id', component: ViewSelectedUsersComponent, 
   data: { 
              breadcrumb: 'View User' 
           } 
},

Am able to see only Users List > John but i want show like Users List > View User > John

Pls help me on this

@udayvunnam
Copy link

@suriyaJaay not sure if this library is actively maintained. You can check this alternative https://www.npmjs.com/package/xng-breadcrumb

@suriyaJaay
Copy link
Author

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

2 participants