From 379acb21bcc491efdc0118ea714790bb34238d66 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jun 2018 17:05:57 +0200 Subject: [PATCH] Rename "my settings" to "my account" in menu --- client/src/app/+my-account/my-account-routing.module.ts | 5 +++++ client/src/app/menu/menu.component.html | 4 ++-- 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 @@ -15,6 +15,11 @@ const myAccountRoutes: Routes = [ component: MyAccountComponent, canActivateChild: [ MetaGuard, LoginGuard ], children: [ + { + path: '', + redirectTo: 'settings', + pathMatch: 'full' + }, { path: 'settings', component: MyAccountSettingsComponent, 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 @@ My public profile - - My settings + + My account 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" git tag -s -a "$version" -m "$version" npm run build -rm "./client/dist/en-US/stats.json" +rm "./client/dist/en_US/stats.json" +rm "./client/dist/embed-stats.json" # Creating the archives ( -- 2.25.1