aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-15 11:25:53 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit59c857da5961e2bcddcfd07832783c1e4afcd01a (patch)
tree899998038c38fdf6a6238945a0fbc79181d5cea0 /client
parent608624252466acf9f1d9ee1c1170bd4fe4d18d18 (diff)
downloadPeerTube-59c857da5961e2bcddcfd07832783c1e4afcd01a.tar.gz
PeerTube-59c857da5961e2bcddcfd07832783c1e4afcd01a.tar.zst
PeerTube-59c857da5961e2bcddcfd07832783c1e4afcd01a.zip
Fix error when creating a fresh database
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+admin/follows/following-add/following-add.component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/+admin/follows/following-add/following-add.component.ts b/client/src/app/+admin/follows/following-add/following-add.component.ts
index 0ceb4c1db..814c6f1a1 100644
--- a/client/src/app/+admin/follows/following-add/following-add.component.ts
+++ b/client/src/app/+admin/follows/following-add/following-add.component.ts
@@ -94,6 +94,7 @@ export class FollowingAddComponent implements OnInit {
94 this.followService.follow(notEmptyHosts).subscribe( 94 this.followService.follow(notEmptyHosts).subscribe(
95 status => { 95 status => {
96 this.notificationsService.success('Success', 'Follow request(s) sent!') 96 this.notificationsService.success('Success', 'Follow request(s) sent!')
97 this.router.navigate([ '/admin/follows/following-list' ])
97 }, 98 },
98 99
99 err => this.notificationsService.error('Error', err.message) 100 err => this.notificationsService.error('Error', err.message)