Match page get rid of join tab

This commit is contained in:
Kalle
2026-06-17 17:32:54 +03:00
parent b19e942709
commit c7ba494b2b
102 changed files with 173 additions and 1038 deletions

View File

@@ -1312,21 +1312,6 @@ export async function anyUserPrefersNoScreen(
return Boolean(result);
}
export async function anyUserPrefersNoSplatnet(
userIds: number[],
): Promise<boolean> {
if (userIds.length === 0) return false;
const result = await db
.selectFrom("User")
.select("User.noSplatnet")
.where("User.id", "in", userIds)
.where("User.noSplatnet", "=", 1)
.executeTakeFirst();
return Boolean(result);
}
export async function socialLinksByUserId(userId: number) {
const user = await db
.selectFrom("User")