Fixed search page.

This commit is contained in:
Bradley Shellnut 2023-07-29 23:48:22 -07:00
parent 1f1d9d7838
commit a62bd44279
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@
let disclosureOpen = $errors.length > 0 || false;
// $: skip = (page - 1) * pageSize;
// $: showPagination = $gameStore?.length > 1;
$: showPagination = totalCount > pageSize;
if ($xl) {
numberOfGameSkeleton = 8;

View file

@ -31,7 +31,7 @@ export const load: PageServerLoad = async ({ fetch, url, locals }) => {
try {
let collection = await prisma.collection.findUnique({
where: {
user_id: session.userId
user_id: session.user.userId
}
});
console.log('collection', collection);