Skip to content

Commit

Permalink
conditional and verbage change
Browse files Browse the repository at this point in the history
  • Loading branch information
rdonigian committed Dec 19, 2024
1 parent eef3ed0 commit c6cc3ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ export const LanguageEngagementMilestone = ({ engagement }: Props) => {
required
sx={{ width: 'fit-content' }}
/>
) : milestoneReached.value ? (
) : milestoneReached.value && milestoneReached.value !== 'Unknown' ? (
<Typography>
{LanguageMilestoneLabels[milestoneReached.value]}
</Typography>
) : (
<Typography>
Unknown{' '}
{milestoneReached.canEdit && '— click the edit pencil to add'}
{milestoneReached.canEdit && '— click the edit pencil to declare'}
</Typography>
)}
</Stack>
Expand Down

0 comments on commit c6cc3ab

Please sign in to comment.