fix invite count calculation
commitcfc0731b8eaa0824943933e6436a388fb37f3e82
authorLiam Fitzgerald <liam@urizen.co>
dateTue 14 Jan 2020, 16:53 (7 years ago)
parent35f56bd
src/views/Invite/Cohort.js+1−1
@@ -181,7 +181,7 @@ export default function InviteCohort() {
181181 <Grid.Item full>
182182 <Flex align="center">
183183 <Flex.Item>
184− {_acceptedInvites + _pendingInvites} / {_totalInvites}
184+ {_acceptedInvites} / {_totalInvites}
185185 </Flex.Item>
186186 {_pendingInvites !== 0 && (
187187 <Flex.Item as={Chip} className="bg-yellow4 white">
src/views/Point.js+1−2
@@ -159,8 +159,7 @@ export default function Point() {
159159 <Grid.Item full>
160160 <Flex align="center">
161161 <Flex.Item>
162− {acceptedInvites.getOrElse(0) + _pendingInvites} /{' '}
163− {_totalInvites}
162+ {acceptedInvites.getOrElse(0)} / {_totalInvites}
164163 </Flex.Item>
165164 {_pendingInvites > 0 && (
166165 <Flex.Item as={Chip} className="bg-yellow1 yellow4">