diff --git a/src/front/src/views/VoteHomePage.vue b/src/front/src/views/VoteHomePage.vue
index c280ac689..7f814afd1 100644
--- a/src/front/src/views/VoteHomePage.vue
+++ b/src/front/src/views/VoteHomePage.vue
@@ -8,10 +8,10 @@
{{ x.text }}
-
-
+
+
-
+
-
+
@@ -41,19 +41,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -103,7 +90,6 @@ export default {
updating("active");
const voteModal = ref(false);
- // const editVoteModal = ref(false);
const resultsModal = ref(false);
const selectedVoting = ref(null);
@@ -133,7 +119,6 @@ export default {
const closeModal = () => {
voteModal.value = false;
- // editVoteModal.value = false;
resultsModal.value = false;
selectedVoting.value = null;
router.push({name: "VoteHomePage"});
@@ -147,12 +132,7 @@ export default {
await loadVoteDetails(voting.id);
voteModal.value = true;
router.push({name: "Voting", params: {id: voting.id}});
- }
- // else if (type === "edit") {
- // editVoteModal.value = true;
- // router.push({name: "EditVote", params: {id: voting.id}});
- // }
- else if (type === "results") {
+ } else if (type === "results") {
await loadVoteResult(voting.id);
resultsModal.value = true;
router.push({name: "VoteResults", params: {id: voting.id}});
@@ -197,7 +177,6 @@ export default {
votes,
sortedVotes,
voteModal,
- // editVoteModal,
resultsModal,
selectedVoting,
openModal,