experimenting

This commit is contained in:
Tony Grosinger 2024-02-21 18:01:05 -08:00
parent 1305d267e0
commit 4310bca0ef

View File

@ -87,7 +87,7 @@ export default {
data: { user_ids: thisBatch.map((uc) => uc.user.id).join(",") },
});
thisBatch.forEach((uc) => {
console.log(uc);
// console.log(uc);
// Each user card expects its own promise
// Rather than making a separate AJAX request for each
@ -99,9 +99,11 @@ export default {
user: data.users.find((u) => u.id === uc.user.id),
});
});
return uc.user
let x = uc.user
.findDetails({ existingRequest: convertedPromise })
.finally(() => uc.set("loading", false));
console.log(x);
return x;
});
}