From 49c2cf204d22ba587e876f43d128e1ab9adb7a81 Mon Sep 17 00:00:00 2001 From: Vadim Arasev Date: Wed, 29 Aug 2018 12:09:35 +0300 Subject: [PATCH] (Update) Replace `hasAlreadyVoted` property with `alreadyVoted` --- src/components/BallotCard.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/BallotCard.jsx b/src/components/BallotCard.jsx index 2d13306..ddf54cf 100644 --- a/src/components/BallotCard.jsx +++ b/src/components/BallotCard.jsx @@ -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() }