diff options
Diffstat (limited to 'client/src/app/+admin/follows/followers-list/followers-list.component.ts')
-rw-r--r-- | client/src/app/+admin/follows/followers-list/followers-list.component.ts | 10 |
1 files changed, 4 insertions, 6 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 208a0c648..8dc2d9317 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,11 +1,9 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component } from '@angular/core' |
2 | 2 | ||
3 | import { NotificationsService } from 'angular2-notifications' | 3 | import { NotificationsService } from 'angular2-notifications' |
4 | import { SortMeta } from 'primeng/primeng' | 4 | import { SortMeta } from 'primeng/primeng' |
5 | 5 | import { AccountFollow } from '../../../../../../shared/models/accounts/follow.model' | |
6 | import { ConfirmService } from '../../../core' | 6 | import { RestPagination, RestTable } from '../../../shared' |
7 | import { RestTable, RestPagination } from '../../../shared' | ||
8 | import { Pod } from '../../../../../../shared' | ||
9 | import { FollowService } from '../shared' | 7 | import { FollowService } from '../shared' |
10 | 8 | ||
11 | @Component({ | 9 | @Component({ |
@@ -14,7 +12,7 @@ import { FollowService } from '../shared' | |||
14 | styleUrls: [ './followers-list.component.scss' ] | 12 | styleUrls: [ './followers-list.component.scss' ] |
15 | }) | 13 | }) |
16 | export class FollowersListComponent extends RestTable { | 14 | export class FollowersListComponent extends RestTable { |
17 | followers: Pod[] = [] | 15 | followers: AccountFollow[] = [] |
18 | totalRecords = 0 | 16 | totalRecords = 0 |
19 | rowsPerPage = 10 | 17 | rowsPerPage = 10 |
20 | sort: SortMeta = { field: 'createdAt', order: 1 } | 18 | sort: SortMeta = { field: 'createdAt', order: 1 } |