From 4cda8ebb692a96f6e74131fdbc0b970178974bfd Mon Sep 17 00:00:00 2001 From: royallsilwallz Date: Thu, 14 Nov 2024 11:34:46 +0545 Subject: [PATCH] Fetch only published projects in Team Members page - Fixes #6629 --- frontend/src/views/teams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/teams.js b/frontend/src/views/teams.js index 32a1b56b4e..8f2383e7e6 100644 --- a/frontend/src/views/teams.js +++ b/frontend/src/views/teams.js @@ -426,7 +426,7 @@ export function TeamDetail() { const [error, loading, team] = useFetch(`teams/${id}/`); // eslint-disable-next-line const [projectsError, projectsLoading, projects] = useFetch( - `projects/?teamId=${id}&omitMapResults=true&projectStatuses=PUBLISHED,DRAFT,ARCHIVED`, + `projects/?teamId=${id}&omitMapResults=true&projectStatuses=PUBLISHED`, id, ); const [isMember, setIsMember] = useState(false);