diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-10-19 22:58:47 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-10-19 22:58:47 +0500 |
commit | 2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb (patch) | |
tree | b386ef151f2b6ec6fdbc0e2f596723d62093bbec /web/react/components/more_direct_channels.jsx | |
parent | cbbfe0112bf0d795d3c51382d6fddf5b20d19736 (diff) | |
download | chat-2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb.tar.gz chat-2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb.tar.bz2 chat-2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb.zip |
Multiple UI Improvements
Diffstat (limited to 'web/react/components/more_direct_channels.jsx')
-rw-r--r-- | web/react/components/more_direct_channels.jsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/web/react/components/more_direct_channels.jsx b/web/react/components/more_direct_channels.jsx index 105199035..1db22ebaa 100644 --- a/web/react/components/more_direct_channels.jsx +++ b/web/react/components/more_direct_channels.jsx @@ -140,12 +140,11 @@ export default class MoreDirectChannels extends React.Component { if (user.nickname) { const separator = fullName ? ' - ' : ''; details.push( - <p + <span key={`${user.nickname}__nickname`} - className='more-description' > {separator + user.nickname} - </p> + </span> ); } @@ -184,7 +183,9 @@ export default class MoreDirectChannels extends React.Component { <div className='more-name'> {user.username} </div> - {details} + <div className='more-description'> + {details} + </div> </td> <td className='td--action lg'> {joinButton} |