on master help sign in
"Better" booleans
commit0ec6182b2a2e4cec265e142fad2b76843fcdbf8a authorFang <Fang-@users.noreply.github.com> dateMon 8 Jul 2019, 23:38 (7 years ago) parent13b09d9
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).length;
51+ const acceptedInvites = activity.filter(i => !!i).length;
5252
5353 addToInvitesCache({
5454 [point]: {