From fd951c9c725d35f423ba7988095be44a2db21c70 Mon Sep 17 00:00:00 2001 From: Spectralitree Date: Sat, 6 Feb 2021 19:56:06 +0100 Subject: [PATCH] fix privacy filtering --- src/Components/Memberlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Memberlist.js b/src/Components/Memberlist.js index 6968bca8..61e07326 100644 --- a/src/Components/Memberlist.js +++ b/src/Components/Memberlist.js @@ -84,7 +84,7 @@ export default function Memberlist() { }) const currentMembers = Members1.filter(member => { - if (!value) return true; + if (!value & privacyFilter === 'all') return true; if (privacyFilter === 'private') { if (member.visibility !== 'private') {