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