aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+my-account/my-account-routing.module.ts5
-rw-r--r--client/src/app/menu/menu.component.html4
2 files changed, 7 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-routing.module.ts b/client/src/app/+my-account/my-account-routing.module.ts
index 7e19cd994..91b464f75 100644
--- a/client/src/app/+my-account/my-account-routing.module.ts
+++ b/client/src/app/+my-account/my-account-routing.module.ts
@@ -16,6 +16,11 @@ const myAccountRoutes: Routes = [
16 canActivateChild: [ MetaGuard, LoginGuard ], 16 canActivateChild: [ MetaGuard, LoginGuard ],
17 children: [ 17 children: [
18 { 18 {
19 path: '',
20 redirectTo: 'settings',
21 pathMatch: 'full'
22 },
23 {
19 path: 'settings', 24 path: 'settings',
20 component: MyAccountSettingsComponent, 25 component: MyAccountSettingsComponent,
21 data: { 26 data: {
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index 167729405..8e3b295f7 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -18,8 +18,8 @@
18 My public profile 18 My public profile
19 </a> 19 </a>
20 20
21 <a i18n routerLink="/my-account/settings" class="dropdown-item" title="My settings"> 21 <a i18n routerLink="/my-account" class="dropdown-item" title="My account">
22 My settings 22 My account
23 </a> 23 </a>
24 24
25 <a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#"> 25 <a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#">