feat(ui): rename the zone list problems column to status

This commit is contained in:
bryanpedini committed 2026-11-22 11:31:59 +01:00
1 parent bca04d7ab2
commit 9c2fb9d15b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ function problemCell(zone) {
}
const counts = state.counts.get(zone.name) || { error: 0, warning: 0 };
if (counts.error === 0 && counts.warning === 0) {
cell.append(h("span", { class: "badge badge-ok", text: "none" }));
cell.append(h("span", { class: "badge badge-ok", text: "OK" }));
return cell;
}
if (counts.error > 0) cell.append(h("span", { class: "badge badge-error", text: plural(counts.error, "error", "errors") }), " ");