Skip to content

Commit 3d2f514

Browse files
committed
Fix wrong flag hidding projects section
1 parent 7295939 commit 3d2f514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/collective-page/sections/Projects.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function getContributeCardsScrollDistance(width) {
7575
export default function Projects(props: ProjectsProps) {
7676
const { collective, isAdmin } = props;
7777
const intl = useIntl();
78-
const hasProjectsSection = (props.projects.length >= 0 && !collective.isActive) || isAdmin;
78+
const hasProjectsSection = (props.projects.length >= 0 && collective.isActive) || isAdmin;
7979

8080
const [searchTerm, setSearchTerm] = React.useState('');
8181
const deboucedSearchTerm = useDebounced(searchTerm, 1000);

0 commit comments

Comments
 (0)