on master help sign in
Fix issue with counting used invites

The bool's right there, not under .active

commit13b09d97698b61898d3a40cebaddd4848c685b03 authorFang <git@fang.io> dateMon 8 Jul 2019, 20:43 (7 years ago) parent7c16d74
1 file changed+1−1
src/store/lib/useInvitesStore.js+1−1
src/store/lib/useInvitesStore.js+1−1
@@ -48,7 +48,7 @@ export default function useInvitesStore() {
4848 );
4949
5050 const sentInvites = invitedPoints.length;
51− const acceptedInvites = activity.filter(i => i.active).length;
51+ const acceptedInvites = activity.filter(i => i).length;
5252
5353 addToInvitesCache({
5454 [point]: {