diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-01 09:02:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-01 09:02:27 +0200 |
commit | 75f1d36218e2f2011845fcbf2e417c4524230668 (patch) | |
tree | 4727d9c8a2b30b43755810849152bb363b9c270e /client/src/app/+my-account | |
parent | ed4c3c091009f85dd5e2775087b33ebd7f22ffd2 (diff) | |
download | PeerTube-75f1d36218e2f2011845fcbf2e417c4524230668.tar.gz PeerTube-75f1d36218e2f2011845fcbf2e417c4524230668.tar.zst PeerTube-75f1d36218e2f2011845fcbf2e417c4524230668.zip |
Fix my account subtitles
Diffstat (limited to 'client/src/app/+my-account')
-rw-r--r-- | client/src/app/+my-account/my-account.component.ts | 8 |
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 = '' |