Remove redundant admin results lock badge

This commit is contained in:
2026-02-04 23:15:45 +01:00
parent e86d4cc112
commit 56ca3b1f68
2 changed files with 0 additions and 8 deletions

View File

@@ -734,13 +734,6 @@ export function updatePhaseNav() {
showNav("nav-suggest", phase === "Suggest");
showNav("nav-vote", phase === "Vote");
const lockBadge = $("results-lock");
if (lockBadge) {
const locked = state.votesFinal && !state.resultsOpen && phase === "Vote";
lockBadge.classList.toggle("hidden", !locked);
lockBadge.textContent = t("admin.resultsLocked");
}
const finalizeBtn = $("finalize-votes");
if (finalizeBtn) {
finalizeBtn.textContent = state.votesFinal ? t("vote.unfinalize") : t("vote.finalize");