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" md="4"
:class="{ 'voted-card': voting.voted }" :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-col>
</v-row> </v-row>
</v-container> </v-container>
@@ -194,9 +200,10 @@ export default {
} }
}; };
watch(currentTab, watch(currentTab,
async () => async () =>{
// console.log(currentTab.value)
await updating(currentTab.value) votes.value=[]
await updating(currentTab.value)}
) )
watch( watch(