diff --git a/src/front/src/views/VoteHomePage.vue b/src/front/src/views/VoteHomePage.vue index 548de8c7e..c280ac689 100644 --- a/src/front/src/views/VoteHomePage.vue +++ b/src/front/src/views/VoteHomePage.vue @@ -137,7 +137,8 @@ export default { resultsModal.value = false; selectedVoting.value = null; router.push({name: "VoteHomePage"}); - updating('active') + if (route.name === "Voting") updating('active') + if (route.name === "VoteResults") updating('completed') }; const openModal = async (type, voting) => {