disable undian at navbar

This commit is contained in:
nurafrinaalimi16
2024-04-03 15:38:14 +08:00
parent 14b5b2b703
commit 34c8cdffca
@@ -27,12 +27,12 @@
<a href="#">Pautan Zoom</a>
</router-link>
<router-link :to="{name: 'Vote'}" v-if="data.election.status==2 && !hasVoted()" tag="li" exact>
<a href="#">Vote</a>
<router-link :to="{name: 'Vote'}" v-if="data.election.status==2 && data.user.saham >= 500 && !hasVoted()" tag="li" exact>
<a href="#">Undian</a>
</router-link>
<router-link :to="{name: 'Result'}" v-if="data.election.status==2 && hasVoted()" tag="li">
<a href="#">Results</a>
<a href="#">Keputusan</a>
</router-link>
</ul>