Add Fix Vote issue and improve UI
This commit is contained in:
parent
5dfd2da376
commit
74c7d29875
@ -97,11 +97,13 @@
|
||||
variant="success"
|
||||
:value="p.tally.yes"
|
||||
show-progress
|
||||
:label="`${p.tally.yes.toFixed()}%`"
|
||||
/>
|
||||
<b-progress-bar
|
||||
:id="'vote-no'+p.id"
|
||||
variant="warning"
|
||||
:value="p.tally.no"
|
||||
:label="`${p.tally.no.toFixed()}%`"
|
||||
show-progress
|
||||
/>
|
||||
<b-progress-bar
|
||||
|
@ -224,7 +224,7 @@
|
||||
</b-button>
|
||||
</router-link>
|
||||
<b-button
|
||||
:disabled="proposer.status!=2"
|
||||
:disabled="proposal.status!=2"
|
||||
variant="primary"
|
||||
class="btn float-right mg-2"
|
||||
>
|
||||
@ -295,7 +295,7 @@ export default {
|
||||
case 'VOTE_OPTION_NO':
|
||||
return 'No'
|
||||
case 4:
|
||||
// case 'VOTE_OPTION_NO_WITH':
|
||||
case 'VOTE_OPTION_NO_WITH_VETO':
|
||||
return 'No With Veto'
|
||||
default:
|
||||
return value
|
||||
|
@ -365,7 +365,7 @@ export default {
|
||||
value: {
|
||||
voter: this.voter,
|
||||
proposalId: this.proposalId,
|
||||
option: this.option,
|
||||
option: Number(this.option),
|
||||
},
|
||||
}]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user