From 7d475f5e9186886c453975a6325aede1d9fe90e9 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Fri, 10 Jul 2026 17:18:33 -0400 Subject: [PATCH] filter out pending resources --- src/app/[orgId]/settings/resources/private/page.tsx | 1 + src/app/[orgId]/settings/resources/public/page.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app/[orgId]/settings/resources/private/page.tsx b/src/app/[orgId]/settings/resources/private/page.tsx index 8206d14e8..348340aa9 100644 --- a/src/app/[orgId]/settings/resources/private/page.tsx +++ b/src/app/[orgId]/settings/resources/private/page.tsx @@ -27,6 +27,7 @@ export default async function ClientResourcesPage( const params = await props.params; const t = await getTranslations(); const searchParams = new URLSearchParams(await props.searchParams); + searchParams.set("status", "approved"); let siteResources: ListAllSiteResourcesByOrgResponse["siteResources"] = []; let pagination: ListAllSiteResourcesByOrgResponse["pagination"] = { diff --git a/src/app/[orgId]/settings/resources/public/page.tsx b/src/app/[orgId]/settings/resources/public/page.tsx index e0b9f6210..f8cc85dae 100644 --- a/src/app/[orgId]/settings/resources/public/page.tsx +++ b/src/app/[orgId]/settings/resources/public/page.tsx @@ -38,6 +38,7 @@ export default async function ProxyResourcesPage( const params = await props.params; const t = await getTranslations(); const searchParams = new URLSearchParams(await props.searchParams); + searchParams.set("status", "approved"); let resources: ListResourcesResponse["resources"] = []; let pagination: ListResourcesResponse["pagination"] = {