diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 15:22:57 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 15:22:57 +0100 |
commit | e600e1fea275c12f4420e23624804617e61a082c (patch) | |
tree | cf3fc20b3a7be686f8630c0adc736e36810161dd /client/src/app/+admin/follows/follows.component.ts | |
parent | cd83ea1b908efe594c1e03f886c0dc4742b91360 (diff) | |
download | PeerTube-e600e1fea275c12f4420e23624804617e61a082c.tar.gz PeerTube-e600e1fea275c12f4420e23624804617e61a082c.tar.zst PeerTube-e600e1fea275c12f4420e23624804617e61a082c.zip |
Design follow admin page
Diffstat (limited to 'client/src/app/+admin/follows/follows.component.ts')
-rw-r--r-- | client/src/app/+admin/follows/follows.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+admin/follows/follows.component.ts b/client/src/app/+admin/follows/follows.component.ts index a1be82585..f29ad384f 100644 --- a/client/src/app/+admin/follows/follows.component.ts +++ b/client/src/app/+admin/follows/follows.component.ts | |||
@@ -47,7 +47,7 @@ export class FollowsComponent implements OnInit, AfterViewInit { | |||
47 | for (let i = 0; i < this.links.length; i++) { | 47 | for (let i = 0; i < this.links.length; i++) { |
48 | const path = this.links[i].path | 48 | const path = this.links[i].path |
49 | 49 | ||
50 | if (url.endsWith(path) === true) { | 50 | if (url.endsWith(path) === true && this.followsMenuTabs.tabs[i]) { |
51 | this.followsMenuTabs.tabs[i].active = true | 51 | this.followsMenuTabs.tabs[i].active = true |
52 | return | 52 | return |
53 | } | 53 | } |