From 6d8c70aa2dddd989f4605630a109db167128c1f5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 24 Jul 2018 15:33:18 +0200 Subject: Fix pagination on rest table --- client/src/app/+admin/jobs/jobs-list/jobs-list.component.html | 2 +- client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'client/src/app') 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() } -- cgit v1.2.3