diff options
Diffstat (limited to 'client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts')
-rw-r--r-- | client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts index 9459117a3..130009dc7 100644 --- a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts +++ b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.ts | |||
@@ -12,7 +12,7 @@ import { ServerBlock } from '../../../../../../shared' | |||
12 | templateUrl: './instance-server-blocklist.component.html' | 12 | templateUrl: './instance-server-blocklist.component.html' |
13 | }) | 13 | }) |
14 | export class InstanceServerBlocklistComponent extends RestTable implements OnInit { | 14 | export class InstanceServerBlocklistComponent extends RestTable implements OnInit { |
15 | blockedAccounts: ServerBlock[] = [] | 15 | blockedServers: ServerBlock[] = [] |
16 | totalRecords = 0 | 16 | totalRecords = 0 |
17 | rowsPerPage = 10 | 17 | rowsPerPage = 10 |
18 | sort: SortMeta = { field: 'createdAt', order: -1 } | 18 | sort: SortMeta = { field: 'createdAt', order: -1 } |
@@ -50,7 +50,7 @@ export class InstanceServerBlocklistComponent extends RestTable implements OnIni | |||
50 | return this.blocklistService.getInstanceServerBlocklist(this.pagination, this.sort) | 50 | return this.blocklistService.getInstanceServerBlocklist(this.pagination, this.sort) |
51 | .subscribe( | 51 | .subscribe( |
52 | resultList => { | 52 | resultList => { |
53 | this.blockedAccounts = resultList.data | 53 | this.blockedServers = resultList.data |
54 | this.totalRecords = resultList.total | 54 | this.totalRecords = resultList.total |
55 | }, | 55 | }, |
56 | 56 | ||