diff --git a/web/js/units.js b/web/js/units.js index ca71781..831ab93 100644 --- a/web/js/units.js +++ b/web/js/units.js @@ -76,6 +76,8 @@ async function selectUnit(unitId) { function runtimeBadge(runtime) { if (!runtime) return 'OFFLINE'; + if (runtime.comm_locked) return 'COMM ERR'; + if (runtime.fault_locked) return 'FAULT'; const stateLabels = { stopped: 'STOPPED', running: 'RUNNING',