diff --git a/wwwroot/app.js b/wwwroot/app.js index c213c59..3c1107c 100644 --- a/wwwroot/app.js +++ b/wwwroot/app.js @@ -308,6 +308,7 @@ function bindNavButtons() { await api.finalizeVotes(desired); state.votesFinal = desired; renderPhasePill(); + renderVotes(); toast(desired ? t("vote.finalize") : t("vote.unfinalize")); } catch (err) { toast(err.message, true); diff --git a/wwwroot/js/ui.js b/wwwroot/js/ui.js index 550661b..b3c608e 100644 --- a/wwwroot/js/ui.js +++ b/wwwroot/js/ui.js @@ -159,6 +159,7 @@ export function renderVotes() { li.querySelector(".card-body").appendChild(footer); list.appendChild(li); }); + updatePhaseNav(); list.querySelectorAll("input[type=range]").forEach((input) => { input.addEventListener("input", (e) => { if (state.votesFinal) return;