experimenting
This commit is contained in:
parent
5e40b0229c
commit
74999ab4c1
@ -63,12 +63,7 @@ export default {
|
|||||||
allUsers = allUsers.filter((u) => u.id !== this.currentUser.id);
|
allUsers = allUsers.filter((u) => u.id !== this.currentUser.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("ALL USERS:")
|
|
||||||
console.log(allUsers);
|
|
||||||
|
|
||||||
const filteredUsers = allUsers.filter(u => u.user.user_fields["3"] === "true");
|
const filteredUsers = allUsers.filter(u => u.user.user_fields["3"] === "true");
|
||||||
console.log("Filtered Users:")
|
|
||||||
console.log(filteredUsers)
|
|
||||||
|
|
||||||
const userCardInfos = filteredUsers.map((u) => {
|
const userCardInfos = filteredUsers.map((u) => {
|
||||||
if (this.cachedUserCardInfo[u.id]) {
|
if (this.cachedUserCardInfo[u.id]) {
|
||||||
@ -87,9 +82,6 @@ export default {
|
|||||||
return userCardInfo;
|
return userCardInfo;
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("toLoad:")
|
|
||||||
console.log(toLoad)
|
|
||||||
|
|
||||||
const loadMax = 50;
|
const loadMax = 50;
|
||||||
|
|
||||||
while (toLoad.length > 0) {
|
while (toLoad.length > 0) {
|
||||||
@ -116,7 +108,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return userCardInfos.filter(c => c.user.user_fields["3"] === "true");
|
return userCardInfos;
|
||||||
},
|
},
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
Loading…
Reference in New Issue
Block a user