aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/+my-account/my-account.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+my-account/my-account.component.ts b/client/src/app/+my-account/my-account.component.ts
index fed6e6b04..bad60a8fb 100644
--- a/client/src/app/+my-account/my-account.component.ts
+++ b/client/src/app/+my-account/my-account.component.ts
@@ -43,13 +43,13 @@ export class MyAccountComponent implements OnInit, OnDestroy {
43 private updateLibraryLabel (url: string) { 43 private updateLibraryLabel (url: string) {
44 const [ path ] = url.split('?') 44 const [ path ] = url.split('?')
45 45
46 if (path === '/my-account/video-channels') { 46 if (path.startsWith('/my-account/video-channels')) {
47 this.libraryLabel = this.i18n('Channels') 47 this.libraryLabel = this.i18n('Channels')
48 } else if (path === '/my-account/videos') { 48 } else if (path.startsWith('/my-account/videos')) {
49 this.libraryLabel = this.i18n('Videos') 49 this.libraryLabel = this.i18n('Videos')
50 } else if (path === '/my-account/subscriptions') { 50 } else if (path.startsWith('/my-account/subscriptions')) {
51 this.libraryLabel = this.i18n('Subscriptions') 51 this.libraryLabel = this.i18n('Subscriptions')
52 } else if (path === '/my-account/video-imports') { 52 } else if (path.startsWith('/my-account/video-imports')) {
53 this.libraryLabel = this.i18n('Video imports') 53 this.libraryLabel = this.i18n('Video imports')
54 } else { 54 } else {
55 this.libraryLabel = '' 55 this.libraryLabel = ''