Skip to content

Commit

Permalink
Merge pull request #486 from masslight/406/fix
Browse files Browse the repository at this point in the history
issue #406
  • Loading branch information
GiladSchneider authored Oct 11, 2024
2 parents 213ad09 + ee87e99 commit c82abe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/telemed-intake/app/src/pages/PastVisits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const PastVisits = (): JSX.Element => {
isFirstPage={true}
>
<Typography variant="h2" color="primary.main">
{pastAppointments?.length === 0 ? t('pastVisits.noVisits') : t('pastVisits.visits')}
{!pastAppointments || pastAppointments.length > 0 ? t('pastVisits.visits') : t('pastVisits.noVisits')}
</Typography>
{isFetching && (
<Skeleton
Expand Down

0 comments on commit c82abe3

Please sign in to comment.