diff --git a/src/components/organisms/pupil/OakPupilJourneyListItem/OakPupilJourneyListItem.stories.tsx b/src/components/organisms/pupil/OakPupilJourneyListItem/OakPupilJourneyListItem.stories.tsx index 332d016f..754c9358 100644 --- a/src/components/organisms/pupil/OakPupilJourneyListItem/OakPupilJourneyListItem.stories.tsx +++ b/src/components/organisms/pupil/OakPupilJourneyListItem/OakPupilJourneyListItem.stories.tsx @@ -85,5 +85,6 @@ export const Unavailable: Story = { args: { disabled: true, unavailable: true, + numberOfLessons: 14, }, }; diff --git a/src/components/organisms/pupil/OakPupilJourneyListItem/OakPupilJourneyListItem.tsx b/src/components/organisms/pupil/OakPupilJourneyListItem/OakPupilJourneyListItem.tsx index b94fe9db..1a71a091 100644 --- a/src/components/organisms/pupil/OakPupilJourneyListItem/OakPupilJourneyListItem.tsx +++ b/src/components/organisms/pupil/OakPupilJourneyListItem/OakPupilJourneyListItem.tsx @@ -163,7 +163,7 @@ export const OakPupilJourneyListItem = ( $flexGrow={1} $justifyContent={"flex-end"} > - {props.numberOfLessons && !props.unavailable && ( + {props.numberOfLessons !== undefined && !props.unavailable && (