Skip to content

Commit

Permalink
fix(accounts): space between group names
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Mar 16, 2019
1 parent 213bc05 commit 24a590b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/containers/Accounts/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class AccountsContainer extends React.Component {
<span className='tru-list-heading'>Groups</span>
<span className='uk-text-small uk-text-muted uk-text-truncate'>
{user.get('groups').map(group => {
return group.get('name') + (user.get('groups').length > 1 ? ', ' : '')
return group.get('name') + (user.get('groups').toArray().length > 1 ? ', ' : '')
})}
</span>
</div>
Expand Down

0 comments on commit 24a590b

Please sign in to comment.