Skip to content

Commit

Permalink
chore: fix closures conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Feb 6, 2025
1 parent 18e7bf2 commit 57bcebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/rec-resource/RecResourcePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const RecResourcePage = () => {

const isThingsToDo = recreation_activity && recreation_activity.length > 0;
const isPhotoGallery = photosExample.length > 0;
const isClosures = statusComment && formattedName && statusCode === 2;
const isClosures = statusComment && formattedName && statusCode === '02';

const sectionRefs: React.RefObject<HTMLElement>[] = useMemo(
() =>
Expand Down

0 comments on commit 57bcebb

Please sign in to comment.