From 3d2f5141ec6ccf98cd3caf8071e7783d24b79f0f Mon Sep 17 00:00:00 2001 From: Henrique Date: Tue, 1 Oct 2024 15:02:01 -0300 Subject: [PATCH] Fix wrong flag hidding projects section --- components/collective-page/sections/Projects.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/collective-page/sections/Projects.tsx b/components/collective-page/sections/Projects.tsx index 97cd267c36c..9e567b9749b 100644 --- a/components/collective-page/sections/Projects.tsx +++ b/components/collective-page/sections/Projects.tsx @@ -75,7 +75,7 @@ function getContributeCardsScrollDistance(width) { export default function Projects(props: ProjectsProps) { const { collective, isAdmin } = props; const intl = useIntl(); - const hasProjectsSection = (props.projects.length >= 0 && !collective.isActive) || isAdmin; + const hasProjectsSection = (props.projects.length >= 0 && collective.isActive) || isAdmin; const [searchTerm, setSearchTerm] = React.useState(''); const deboucedSearchTerm = useDebounced(searchTerm, 1000);