Remove redundant admin results lock badge
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user