From: Chocobozzz Date: Tue, 24 Jul 2018 13:33:18 +0000 (+0200) Subject: Fix pagination on rest table X-Git-Tag: v1.0.0-beta.10.pre.1~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6d8c70aa2dddd989f4605630a109db167128c1f5;p=oweals%2Fpeertube.git Fix pagination on rest table --- 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 b52d026a7..7ed1888e2 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 a77f4a4a1..44ab59d36 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 @@ -40,6 +40,8 @@ export class JobsListComponent extends RestTable implements OnInit { } onJobStateChanged () { + this.pagination.start = 0 + this.loadData() this.saveJobState() }