Browse Source

docs: update the example in theming

pull/11214/head
bnymncoskuner 4 years ago
parent
commit
0f52f4ee8f
  1. 6
      docs/en/UI/Angular/Theming.md

6
docs/en/UI/Angular/Theming.md

@ -241,11 +241,11 @@ export class AppComponent {
constructor(private userMenu: UserMenuService, private router: Router) {
this.userMenu.addItems([
{
id: 'UserMenu.Reports',
id: 'UserMenu.MyAccount',
order: 1,
// HTML example
html: `<a class="dropdown-item pointer">Reports</a>`,
html: `<a class="dropdown-item pointer">My account</a>`,
// text template example
textTemplate: {
@ -256,7 +256,7 @@ export class AppComponent {
component: UserMenuItemComponent,
action: () => {
this.router.navigateByUrl('/account/reports');
this.router.navigateByUrl('/account/manage');
},
},
]);

Loading…
Cancel
Save