Update VoteHomePage.vue
This commit is contained in:
1 parent
204d23c197
commit
b577496d11
1 file changed
+11
-4
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user