Skip to content

Commit

Permalink
Fetch only published projects in Team Members page
Browse files Browse the repository at this point in the history
- Fixes #6629
  • Loading branch information
royallsilwallz committed Nov 14, 2024
1 parent 1f35f84 commit 4cda8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/teams.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4cda8eb

Please sign in to comment.