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