We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 204ae21 commit c12255dCopy full SHA for c12255d
src/cloud/components/atoms/TeamIcon.tsx
@@ -19,7 +19,9 @@ const TeamIcon = ({ team }: TeamIconProps) => {
19
if (team.icon == null) {
20
return (
21
<StyledFillerIcon>
22
- <span className='wrapper'>{team.name.substr(0, 2)}</span>
+ <span className='wrapper'>
23
+ {team.name != null ? team.name.substr(0, 2) : '...'}
24
+ </span>
25
</StyledFillerIcon>
26
)
27
}
0 commit comments