Fix display of retried job attempts
Displaying the current number of retry attempts on the status page does not work because of a typo, this change fixes it. Change-Id: Ic9177e5571d77c54949598e8fc909f15b35c3731
This commit is contained in:
parent
b39a5cae99
commit
cddc0e096e
@ -459,8 +459,8 @@ function JobLink({ job, tenant }) {
|
||||
few: 'rd',
|
||||
other: 'th',
|
||||
}
|
||||
if (job.retries > 1) {
|
||||
job_name = job_name + '(' + job.tries + suffixes[ordinal_rules.select(job.tries)] + ' attempt)'
|
||||
if (job.tries > 1) {
|
||||
job_name = job_name + ' (' + job.tries + suffixes[ordinal_rules.select(job.tries)] + ' attempt)'
|
||||
}
|
||||
|
||||
let name = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user