Skip to content

Commit

Permalink
Fix wrong flag hidding projects section
Browse files Browse the repository at this point in the history
  • Loading branch information
hdiniz committed Oct 1, 2024
1 parent 7295939 commit 3d2f514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/collective-page/sections/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3d2f514

Please sign in to comment.