]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/follows/follows.component.ts
Merge branch 'develop' into 'develop'
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / follows / follows.component.ts
index a1be825858939e8a68b35307e81d31359ea0af37..f29ad384fcc9f514d9f033bac17b66885eda0ae7 100644 (file)
@@ -47,7 +47,7 @@ export class FollowsComponent implements OnInit, AfterViewInit {
     for (let i = 0; i < this.links.length; i++) {
       const path = this.links[i].path
 
-      if (url.endsWith(path) === true) {
+      if (url.endsWith(path) === true && this.followsMenuTabs.tabs[i]) {
         this.followsMenuTabs.tabs[i].active = true
         return
       }