diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-21 16:01:30 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-21 16:01:30 +0100 |
commit | ed4bc631418db2b2c516c89528043e809b506a81 (patch) | |
tree | d32a20a80da2ef141b769cedf59b99ba40023dd9 /client/src/app | |
parent | 24516aa26a6753517b379cf7b5104c1a24eccad6 (diff) | |
download | PeerTube-ed4bc631418db2b2c516c89528043e809b506a81.tar.gz PeerTube-ed4bc631418db2b2c516c89528043e809b506a81.tar.zst PeerTube-ed4bc631418db2b2c516c89528043e809b506a81.zip |
Fix job table colspan
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/+admin/system/jobs/jobs.component.ts | 6 |
1 files changed, 5 insertions, 1 deletions
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 { | |||
73 | } | 73 | } |
74 | 74 | ||
75 | getColspan () { | 75 | getColspan () { |
76 | return this.jobState === 'all' ? 5 : 4 | 76 | if (this.jobState === 'all' && this.hasProgress()) return 6 |
77 | |||
78 | if (this.jobState === 'all') return 5 | ||
79 | |||
80 | return 4 | ||
77 | } | 81 | } |
78 | 82 | ||
79 | onJobStateOrTypeChanged () { | 83 | onJobStateOrTypeChanged () { |