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