Web: status indicator, swap arrows
➜ is more visible than ➠, and thus should be used for the stronger status change request.
This commit is contained in:
parent
3e1137ca65
commit
3c1b0e0539
@ -31,9 +31,9 @@ export function workerStatus(worker) {
|
|||||||
|
|
||||||
let arrow;
|
let arrow;
|
||||||
if (worker.lazy_status_request) {
|
if (worker.lazy_status_request) {
|
||||||
arrow = `<span class='state-transition-arrow lazy' title='lazy status transition'>➜</span>`
|
arrow = `<span class='state-transition-arrow lazy' title='lazy status transition'>➠</span>`
|
||||||
} else {
|
} else {
|
||||||
arrow = `<span class='state-transition-arrow forced' title='forced status transition'>➠</span>`
|
arrow = `<span class='state-transition-arrow forced' title='forced status transition'>➜</span>`
|
||||||
}
|
}
|
||||||
|
|
||||||
return `${worker.status} ${arrow} ${worker.status_requested}`;
|
return `${worker.status} ${arrow} ${worker.status_requested}`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user