From ed4bc631418db2b2c516c89528043e809b506a81 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Jan 2021 16:01:30 +0100 Subject: Fix job table colspan --- client/src/app/+admin/system/jobs/jobs.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/app/+admin/system/jobs/jobs.component.ts b/client/src/app/+admin/system/jobs/jobs.component.ts index 6ab17b3c1..5355d2c20 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.ts +++ b/client/src/app/+admin/system/jobs/jobs.component.ts @@ -73,7 +73,11 @@ export class JobsComponent extends RestTable implements OnInit { } getColspan () { - return this.jobState === 'all' ? 5 : 4 + if (this.jobState === 'all' && this.hasProgress()) return 6 + + if (this.jobState === 'all') return 5 + + return 4 } onJobStateOrTypeChanged () { -- cgit v1.2.3