Remove vote next button; show finalize + admin-wait messaging
This commit is contained in:
@@ -749,8 +749,16 @@ export function updatePhaseNav() {
|
||||
const voteMissingBadge = $("vote-missing");
|
||||
if (voteMissingBadge) {
|
||||
const missing = missingVotesCount();
|
||||
voteMissingBadge.classList.toggle("hidden", missing === 0);
|
||||
voteMissingBadge.textContent = missing > 0 ? t("vote.missingWarn") : "";
|
||||
const showMissing = !state.votesFinal && missing > 0;
|
||||
voteMissingBadge.classList.toggle("hidden", !showMissing);
|
||||
voteMissingBadge.textContent = t("vote.missingWarn");
|
||||
}
|
||||
|
||||
const waitAdmin = $("vote-wait-admin");
|
||||
if (waitAdmin) {
|
||||
const show = state.votesFinal && phase === "Vote" && !state.resultsOpen;
|
||||
waitAdmin.classList.toggle("hidden", !show);
|
||||
waitAdmin.textContent = t("vote.waitAdmin");
|
||||
}
|
||||
|
||||
// Toggle admin-only back buttons
|
||||
|
||||
Reference in New Issue
Block a user