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