(Update) Replace `hasAlreadyVoted` property with `alreadyVoted`

This commit is contained in:
Vadim Arasev 2018-08-29 12:09:35 +03:00
parent dc52cade4b
commit 49c2cf204d
1 changed files with 2 additions and 2 deletions

View File

@ -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()
}