Filter only approved sites

This commit is contained in:
Owen
2026-04-13 21:56:35 -07:00
parent 646e440dec
commit 49ae5eecb6
4 changed files with 9 additions and 15 deletions

View File

@@ -155,7 +155,8 @@ export const orgQueries = {
queryKey: ["ORG", orgId, "SITES", { query, perPage }] as const,
queryFn: async ({ signal, meta }) => {
const sp = new URLSearchParams({
pageSize: perPage.toString()
pageSize: perPage.toString(),
status: "approved"
});
if (query?.trim()) {