From 0f52f4ee8f36567fe331335d0068fc4c72109858 Mon Sep 17 00:00:00 2001 From: bnymncoskuner Date: Fri, 7 Jan 2022 14:45:13 +0300 Subject: [PATCH] docs: update the example in theming --- docs/en/UI/Angular/Theming.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/UI/Angular/Theming.md b/docs/en/UI/Angular/Theming.md index 74cf3b08cb..3b7e3d1afd 100644 --- a/docs/en/UI/Angular/Theming.md +++ b/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: `Reports`, + html: `My account`, // text template example textTemplate: { @@ -256,7 +256,7 @@ export class AppComponent { component: UserMenuItemComponent, action: () => { - this.router.navigateByUrl('/account/reports'); + this.router.navigateByUrl('/account/manage'); }, }, ]);