summaryrefslogtreecommitdiffstats
path: root/webapp/components/more_direct_channels.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2016-12-30 21:40:55 +0500
committerenahum <nahumhbl@gmail.com>2016-12-30 13:40:55 -0300
commit7a14a05a9c1474a1e036f422c4904f83c313a763 (patch)
treeee1126df6b06bfeb6c922d2b433983d110b69b5e /webapp/components/more_direct_channels.jsx
parent3d15b3ec50a7476afb38b4305c24efa6fc80753a (diff)
downloadchat-7a14a05a9c1474a1e036f422c4904f83c313a763.tar.gz
chat-7a14a05a9c1474a1e036f422c4904f83c313a763.tar.bz2
chat-7a14a05a9c1474a1e036f422c4904f83c313a763.zip
Ui fixes (#4917)
* PLT-5089 - Updating modal buttons * PLT-5090 - Full name and position overflow * PLT-5093 - Updating modal lists
Diffstat (limited to 'webapp/components/more_direct_channels.jsx')
-rw-r--r--webapp/components/more_direct_channels.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/more_direct_channels.jsx b/webapp/components/more_direct_channels.jsx
index 1b287b3b2..a3318d0c8 100644
--- a/webapp/components/more_direct_channels.jsx
+++ b/webapp/components/more_direct_channels.jsx
@@ -195,7 +195,9 @@ export default class MoreDirectChannels extends React.Component {
render() {
let teamToggle;
+ let memberClass = '';
if (global.window.mm_config.RestrictDirectMessage === 'any') {
+ memberClass = 'more-system-members';
teamToggle = (
<div className='member-select__container'>
<select
@@ -226,7 +228,7 @@ export default class MoreDirectChannels extends React.Component {
return (
<Modal
- dialogClassName='more-modal more-direct-channels'
+ dialogClassName={'more-modal more-direct-channels ' + memberClass}
show={this.state.show}
onHide={this.handleHide}
onExited={this.handleExit}