Skip to content

Commit

Permalink
feat(technical user): add hyphen if no description (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhigarg-bmw authored Aug 7, 2023
1 parent 18447d9 commit c07e39d
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ const TechnicalUserAddFormSelect = ({
display: 'flex',
}}
/>
{role.roleDescription && (
<Typography variant="caption3" className="roleDescription">
{role.roleDescription}
</Typography>
)}
<Typography variant="caption3" className="roleDescription">
{role.roleDescription ?? '-'}
</Typography>
</>
))}
{!!errors[name] && (
Expand Down

0 comments on commit c07e39d

Please sign in to comment.