diff options
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 | } |