diff --git a/web/app/src/components/workers/WorkersTable.vue b/web/app/src/components/workers/WorkersTable.vue
index 637fc1d5..4ca09210 100644
--- a/web/app/src/components/workers/WorkersTable.vue
+++ b/web/app/src/components/workers/WorkersTable.vue
@@ -114,14 +114,14 @@ export default {
let promise;
if (existingRow) {
- // Tabbulator doesn't update ommitted fields, but if `status_requested`
+ // Tabbulator doesn't update ommitted fields, but if `status_change`
// is ommitted it means "no status change requested"; this should still
- // force an update.
- if (!workerUpdate.status_requested) {
- workerUpdate.status_requested = undefined;
+ // force an update of the `status_change` field.
+ if (!workerUpdate.status_change) {
+ workerUpdate.status_change = null;
}
promise = this.tabulator.updateData([workerUpdate]);
- // Tabulator doesn't know we're using 'status_requested' in the 'status'
+ // Tabulator doesn't know we're using 'status_change' in the 'status'
// column, so it also won't know to redraw when that field changes.
promise.then(() => existingRow.reinitialize(true));
} else {
diff --git a/web/app/src/statusindicator.js b/web/app/src/statusindicator.js
index d1314e37..6f2d4a91 100644
--- a/web/app/src/statusindicator.js
+++ b/web/app/src/statusindicator.js
@@ -25,16 +25,16 @@ export function indicator(status, classNamePrefix) {
* @returns the HTML for the worker status.
*/
export function workerStatus(worker) {
- if (!worker.status_requested) {
+ if (!worker.status_change) {
return `${worker.status}`;
}
let arrow;
- if (worker.lazy_status_request) {
+ if (worker.status_change.is_lazy) {
arrow = `➠`
} else {
arrow = `➜`
}
- return `${worker.status} ${arrow} ${worker.status_requested}`;
+ return `${worker.status} ${arrow} ${worker.status_change.status}`;
}