on master help sign in
Fix issue with counting used invites
13b09d9Fang
src/store/lib/useInvitesStore.js+1−1
@@ -48,7 +48,7 @@ export default function useInvitesStore() {
48 );
48 );
49
49
50 const sentInvites = invitedPoints.length;
50 const sentInvites = invitedPoints.length;
51− const acceptedInvites = activity.filter(i => i.active).length;
51+ const acceptedInvites = activity.filter(i => i).length;
52
52
53 addToInvitesCache({
53 addToInvitesCache({
54 [point]: {
54 [point]: {