X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Ffollows%2Ffollowers-list%2Ffollowers-list.component.ts;h=707daef84d71d200ada60553bcd70dd0cbcb15ef;hb=c2777c1dfe688c8fab1ef2fed50e360100fa9198;hp=e25d9ab66f5a3158f03fb7dca9a7510c325eec27;hpb=b6a1dd4d1b3b0032f8b968e72cbd074f646e8827;p=github%2FChocobozzz%2FPeerTube.git 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 e25d9ab66..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 @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core' import { ConfirmService, Notifier } from '@app/core' -import { SortMeta } from 'primeng/primeng' +import { SortMeta } from 'primeng/api' import { ActorFollow } from '../../../../../../shared/models/actors/follow.model' import { RestPagination, RestTable } from '../../../shared' import { FollowService } from '@app/shared/instance/follow.service' @@ -88,7 +88,7 @@ export class FollowersListComponent extends RestTable implements OnInit { } protected loadData () { - this.followService.getFollowers(this.pagination, this.sort, this.search) + this.followService.getFollowers({ pagination: this.pagination, sort: this.sort, search: this.search }) .subscribe( resultList => { this.followers = resultList.data