aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-blocklist
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-16 11:51:28 +0200
committerChocobozzz <me@florianbigard.com>2018-10-16 16:41:36 +0200
commit92ea70a782181b987b3547a0d5816e314efb5112 (patch)
tree6ae1fd2c90ffadf7d6c1a3b872eb63876498600f /client/src/app/+my-account/my-account-blocklist
parent26370ce469913f48b1c10b91d68ac8cb67586ce1 (diff)
downloadPeerTube-92ea70a782181b987b3547a0d5816e314efb5112.tar.gz
PeerTube-92ea70a782181b987b3547a0d5816e314efb5112.tar.zst
PeerTube-92ea70a782181b987b3547a0d5816e314efb5112.zip
Fix code typos
Diffstat (limited to 'client/src/app/+my-account/my-account-blocklist')
-rw-r--r--client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html2
-rw-r--r--client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html b/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html
index 680334740..329cfb08f 100644
--- a/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html
+++ b/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html
@@ -3,7 +3,7 @@
3</div> 3</div>
4 4
5<p-table 5<p-table
6 [value]="blockedAccounts" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" 6 [value]="blockedServers" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
7 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" 7 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)"
8> 8>
9 9
diff --git a/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.ts b/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.ts
index b994c2c99..b411d6926 100644
--- a/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.ts
+++ b/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.ts
@@ -12,7 +12,7 @@ import { BlocklistService } from '@app/shared/blocklist'
12 templateUrl: './my-account-server-blocklist.component.html' 12 templateUrl: './my-account-server-blocklist.component.html'
13}) 13})
14export class MyAccountServerBlocklistComponent extends RestTable implements OnInit { 14export class MyAccountServerBlocklistComponent 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 MyAccountServerBlocklistComponent extends RestTable implements OnIn
50 return this.blocklistService.getUserServerBlocklist(this.pagination, this.sort) 50 return this.blocklistService.getUserServerBlocklist(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