diff options
-rw-r--r-- | client/src/app/+my-account/my-account-routing.module.ts | 5 | ||||
-rw-r--r-- | client/src/app/menu/menu.component.html | 4 | ||||
-rwxr-xr-x | scripts/release.sh | 3 |
3 files changed, 9 insertions, 3 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="#"> |
diff --git a/scripts/release.sh b/scripts/release.sh index 393955264..9adfe2b5d 100755 --- a/scripts/release.sh +++ b/scripts/release.sh | |||
@@ -57,7 +57,8 @@ git commit package.json client/package.json -m "Bumped to version $version" | |||
57 | git tag -s -a "$version" -m "$version" | 57 | git tag -s -a "$version" -m "$version" |
58 | 58 | ||
59 | npm run build | 59 | npm run build |
60 | rm "./client/dist/en-US/stats.json" | 60 | rm "./client/dist/en_US/stats.json" |
61 | rm "./client/dist/embed-stats.json" | ||
61 | 62 | ||
62 | # Creating the archives | 63 | # Creating the archives |
63 | ( | 64 | ( |