]> 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 0ceb4c1dbaadd0061b0821a58f8a0f3081c1694a..814c6f1a1c2230bd2d0ec48272894ba7677d5db9 100644 (file)
@@ -94,6 +94,7 @@ export class FollowingAddComponent implements OnInit {
         this.followService.follow(notEmptyHosts).subscribe(
           status => {
             this.notificationsService.success('Success', 'Follow request(s) sent!')
+            this.router.navigate([ '/admin/follows/following-list' ])
           },
 
           err => this.notificationsService.error('Error', err.message)