Update VoteHomePage.vue

This commit is contained in:
Nukeap committed 2025-01-20 12:37:19 +03:00
1 parent 204d23c197
commit b577496d11
1 file changed
+11 -4
+11 -4
View File
@@ -48,7 +48,13 @@
md="4"
:class="{ 'voted-card': voting.voted }"
>
<VoteCardVue
:voteCard="voting"
@deleteVoting="deleteVoting"
@openEditVoteModal="(voting) => openModal('edit', voting)"
@openVoteModal="(voting) => openModal('vote', voting)"
@openResultModal="(voting) => openModal('results', voting)"
/>
</v-col>
</v-row>
</v-container>
@@ -194,9 +200,10 @@ export default {
}
};
watch(currentTab,
async () =>
// console.log(currentTab.value)
await updating(currentTab.value)
async () =>{
votes.value=[]
await updating(currentTab.value)}
)
watch(