]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/follows/following-add/following-add.component.ts
Fix error when creating a fresh database
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / follows / following-add / following-add.component.ts
index d95d6afa9b8c28ccc5304d92c127e39181bf6825..814c6f1a1c2230bd2d0ec48272894ba7677d5db9 100644 (file)
@@ -94,8 +94,7 @@ export class FollowingAddComponent implements OnInit {
         this.followService.follow(notEmptyHosts).subscribe(
           status => {
             this.notificationsService.success('Success', 'Follow request(s) sent!')
-            // Wait requests between pods
-            setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000)
+            this.router.navigate([ '/admin/follows/following-list' ])
           },
 
           err => this.notificationsService.error('Error', err.message)