summaryrefslogtreecommitdiffstats
path: root/web/react/components/more_direct_channels.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-10-19 15:35:07 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-10-19 15:35:07 -0400
commitb5b233f3f02dae61ecf796d8b87a0fafb7b7c499 (patch)
treea562ad6ff14fb26e566148b3b77319e70e03cc07 /web/react/components/more_direct_channels.jsx
parentd139c9e825d0149329d90684ebe2d6b31a728b16 (diff)
parentb950d99b3a786b94cc5e97b67442bf4181463725 (diff)
downloadchat-b5b233f3f02dae61ecf796d8b87a0fafb7b7c499.tar.gz
chat-b5b233f3f02dae61ecf796d8b87a0fafb7b7c499.tar.bz2
chat-b5b233f3f02dae61ecf796d8b87a0fafb7b7c499.zip
Merge pull request #1114 from asaadmahmoodspin/ui-improvements
Ui improvements
Diffstat (limited to 'web/react/components/more_direct_channels.jsx')
-rw-r--r--web/react/components/more_direct_channels.jsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/web/react/components/more_direct_channels.jsx b/web/react/components/more_direct_channels.jsx
index 105199035..d5b44d86b 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}
@@ -242,7 +243,7 @@ export default class MoreDirectChannels extends React.Component {
onHide={this.handleHide}
>
<Modal.Header closeButton={true}>
- <Modal.Title>{'Team Directory'}</Modal.Title>
+ <Modal.Title>{'Direct Messages'}</Modal.Title>
</Modal.Header>
<Modal.Body>
<div className='row filter-row'>