filter out hidden characters

This commit is contained in:
Lio 2024-07-26 01:10:55 +02:00
parent cc062f93a6
commit 299fc6645b

View file

@ -6,7 +6,7 @@ import Card from "../../components/Card.astro";
const characters = await pb
.collection("characters")
// @ts-ignore
.getFullList({ expand: ["icon"] });
.getFullList({ expand: ["icon"], filter: `(hidden = false)` });
export const prerender = false;
---