aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/following-list/following-list.component.ts
diff options
context:
space:
mode:
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.ts11
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 @@
1import { Component, OnInit } from '@angular/core' 1import { Component } from '@angular/core'
2
3import { NotificationsService } from 'angular2-notifications' 2import { NotificationsService } from 'angular2-notifications'
4import { SortMeta } from 'primeng/primeng' 3import { SortMeta } from 'primeng/primeng'
5 4import { AccountFollow } from '../../../../../../shared/models/accounts/follow.model'
6import { ConfirmService } from '../../../core' 5import { RestPagination, RestTable } from '../../../shared'
7import { RestTable, RestPagination } from '../../../shared'
8import { Pod } from '../../../../../../shared'
9import { FollowService } from '../shared' 6import { 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})
15export class FollowingListComponent extends RestTable { 12export 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 }