Filter user cards based on user_field.3
This commit is contained in:
parent
4d7491226a
commit
21879a6b81
@ -60,7 +60,9 @@ export default {
|
||||
if (settings.hide_current_user && this.currentUser) {
|
||||
allUsers = allUsers.filter((u) => u.id !== this.currentUser.id);
|
||||
}
|
||||
const userCardInfos = allUsers.map((u) => {
|
||||
|
||||
const filteredUsers = allUsers.filter(u => u.user.user_fields["3"] === "true");
|
||||
const userCardInfos = filteredUsers.map((u) => {
|
||||
if (this.cachedUserCardInfo[u.id]) {
|
||||
return this.cachedUserCardInfo[u.id];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user