Replace results-phase checkbox with stateful button

This commit is contained in:
2026-02-08 15:06:39 +01:00
parent e666e7c603
commit d534fc256b
7 changed files with 16 additions and 8 deletions

View File

@@ -270,6 +270,8 @@ export function updatePhaseNav() {
const adminResultsToggle = $("results-open");
if (adminResultsToggle) {
adminResultsToggle.checked = !!state.resultsOpen;
adminResultsToggle.textContent = state.resultsOpen
? t("admin.resultsOpenDisable")
: t("admin.resultsOpenEnable");
}
}