mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 14:44:15 +00:00
feat: barebones queue
This commit is contained in:
parent
8608acae31
commit
1dacc3ab4a
4 changed files with 229 additions and 225 deletions
|
|
@ -36,7 +36,8 @@ export default async function MiiList({ searchParams, userId, inLikesPage }: Pro
|
|||
miiIdsLiked = likedMiis.map((like) => like.miiId);
|
||||
}
|
||||
|
||||
const where: Prisma.MiiWhereInput = {
|
||||
const where: Prisma.MiiWhereInput = {
|
||||
in_queue: false,
|
||||
// Only show liked miis on likes page
|
||||
...(inLikesPage && miiIdsLiked && { id: { in: miiIdsLiked } }),
|
||||
// Searching
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue