Skip to content

Commit

Permalink
Fix missing gender
Browse files Browse the repository at this point in the history
  • Loading branch information
estyxx committed Oct 12, 2024
1 parent 97846fb commit 9b403b1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ export const GrantTableInfo = ({ grant }: Props) => {
</GrantInfo>

<GrantInfo label={<FormattedMessage id="grants.form.fields.gender" />}>
<FormattedMessage id={`profile.gender.${grant.gender}`} />
{grant.gender ? (
<FormattedMessage id={`profile.gender.${grant.gender}`} />
) : (
"-"
)}
</GrantInfo>

<GrantInfo
Expand Down

0 comments on commit 9b403b1

Please sign in to comment.