фикс при нажатии на проголосовать

This commit is contained in:
Denzel committed 2025-01-22 15:10:37 +03:00
1 parent dd0707612c
commit 4848a6dc01
1 file changed
+2 -1
+2 -1
View File
@@ -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) => {