fix privacy filtering

This commit is contained in:
Spectralitree 2021-02-06 19:56:06 +01:00
parent 3236348504
commit fd951c9c72

View File

@ -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') {