diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-28 11:37:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-28 11:37:32 +0100 |
commit | b8f4167fb6fa448125aeecff80b201d74e27fe6a (patch) | |
tree | 33179fe38e113b3bd88bae9782f4741754a85159 /client/src/app/+admin | |
parent | d275e75453015352d5b9387eaf5078e1ba5e0ea2 (diff) | |
download | PeerTube-b8f4167fb6fa448125aeecff80b201d74e27fe6a.tar.gz PeerTube-b8f4167fb6fa448125aeecff80b201d74e27fe6a.tar.zst PeerTube-b8f4167fb6fa448125aeecff80b201d74e27fe6a.zip |
Only display accepted followers/followings in about page
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/follows/followers-list/followers-list.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/follows/following-list/following-list.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.ts b/client/src/app/+admin/follows/followers-list/followers-list.component.ts index eb3137e26..707daef84 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.ts +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.ts | |||
@@ -88,7 +88,7 @@ export class FollowersListComponent extends RestTable implements OnInit { | |||
88 | } | 88 | } |
89 | 89 | ||
90 | protected loadData () { | 90 | protected loadData () { |
91 | this.followService.getFollowers(this.pagination, this.sort, this.search) | 91 | this.followService.getFollowers({ pagination: this.pagination, sort: this.sort, search: this.search }) |
92 | .subscribe( | 92 | .subscribe( |
93 | resultList => { | 93 | resultList => { |
94 | this.followers = resultList.data | 94 | this.followers = resultList.data |
diff --git a/client/src/app/+admin/follows/following-list/following-list.component.ts b/client/src/app/+admin/follows/following-list/following-list.component.ts index b97923f04..3d78c254f 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.ts +++ b/client/src/app/+admin/follows/following-list/following-list.component.ts | |||
@@ -50,7 +50,7 @@ export class FollowingListComponent extends RestTable implements OnInit { | |||
50 | } | 50 | } |
51 | 51 | ||
52 | protected loadData () { | 52 | protected loadData () { |
53 | this.followService.getFollowing(this.pagination, this.sort, this.search) | 53 | this.followService.getFollowing({ pagination: this.pagination, sort: this.sort, search: this.search }) |
54 | .subscribe( | 54 | .subscribe( |
55 | resultList => { | 55 | resultList => { |
56 | this.following = resultList.data | 56 | this.following = resultList.data |