From c06009f006bd96e1c91fb770375b2b87b087ff0d Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Thu, 31 Aug 2017 14:23:57 -0400 Subject: [PATCH] fix invite reward claim --- ui/js/actions/rewards.js | 2 +- ui/js/component/inviteList/view.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/js/actions/rewards.js b/ui/js/actions/rewards.js index bc7e13e4a..5d43c245f 100644 --- a/ui/js/actions/rewards.js +++ b/ui/js/actions/rewards.js @@ -76,7 +76,7 @@ export function doClaimRewardType(rewardType) { }); }; - rewards.claimReward(reward.reward_type).then(success, failure); + rewards.claimReward(rewardType).then(success, failure); }; } diff --git a/ui/js/component/inviteList/view.jsx b/ui/js/component/inviteList/view.jsx index a233f045c..b431097be 100644 --- a/ui/js/component/inviteList/view.jsx +++ b/ui/js/component/inviteList/view.jsx @@ -50,7 +50,7 @@ class InviteList extends React.PureComponent { : invitee.invite_accepted ? : {__("unclaimable")}