From: Chocobozzz Date: Thu, 8 Mar 2018 13:08:29 +0000 (+0100) Subject: Fix jobs sorting X-Git-Tag: v1.0.0-alpha.5~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=5e4b6992ab818238758a9919f4c5a288398861b6;p=github%2FChocobozzz%2FPeerTube.git Fix jobs sorting --- diff --git a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.html b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.html index 1469cf611..2bc8ab3dd 100644 --- a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.html +++ b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.html @@ -10,7 +10,7 @@ diff --git a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts index 80aba9f3a..e3f317e6d 100644 --- a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts +++ b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts @@ -23,7 +23,6 @@ export class JobsListComponent extends RestTable implements OnInit { rowsPerPage = 10 sort: SortMeta = { field: 'createdAt', order: -1 } pagination: RestPagination = { count: this.rowsPerPage, start: 0 } - scrollHeight = '' constructor ( private notificationsService: NotificationsService, @@ -34,9 +33,6 @@ export class JobsListComponent extends RestTable implements OnInit { } ngOnInit () { - // 380 -> headers + footer... - this.scrollHeight = (viewportHeight() - 380) + 'px' - this.loadJobState() this.loadSort() }