(Update) Replace `hasAlreadyVoted` property with `alreadyVoted`
This commit is contained in:
parent
dc52cade4b
commit
49c2cf204d
|
@ -356,8 +356,8 @@ export class BallotCard extends React.Component {
|
||||||
// getMemo
|
// getMemo
|
||||||
this.memo = votingState.memo
|
this.memo = votingState.memo
|
||||||
// hasAlreadyVoted
|
// hasAlreadyVoted
|
||||||
if (votingState.hasOwnProperty('hasAlreadyVoted')) {
|
if (votingState.hasOwnProperty('alreadyVoted')) {
|
||||||
this.hasAlreadyVoted = votingState.hasAlreadyVoted
|
this.hasAlreadyVoted = votingState.alreadyVoted
|
||||||
} else {
|
} else {
|
||||||
this.getHasAlreadyVoted()
|
this.getHasAlreadyVoted()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue