From 59c857da5961e2bcddcfd07832783c1e4afcd01a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Nov 2017 11:25:53 +0100 Subject: Fix error when creating a fresh database --- client/src/app/+admin/follows/following-add/following-add.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/app') 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 { 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) -- cgit v1.2.3