summaryrefslogtreecommitdiffstats
path: root/webapp/components/more_direct_channels.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-01-06 19:04:11 +0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-01-06 09:04:11 -0500
commit28d07758fc77591a08ebc4f8a0c5696eda8935d5 (patch)
tree59edfb1ee48fb3f177a7e96caa4ce85f780c52e2 /webapp/components/more_direct_channels.jsx
parent0c0635d766f61eb25db52e4e11706932185e416d (diff)
downloadchat-28d07758fc77591a08ebc4f8a0c5696eda8935d5.tar.gz
chat-28d07758fc77591a08ebc4f8a0c5696eda8935d5.tar.bz2
chat-28d07758fc77591a08ebc4f8a0c5696eda8935d5.zip
Bug fixes for search and direct messages (#4986)
* PLT-5145 - Fixing search popover on mobile * PLT-5093 - Fixing direct messages list height
Diffstat (limited to 'webapp/components/more_direct_channels.jsx')
-rw-r--r--webapp/components/more_direct_channels.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/more_direct_channels.jsx b/webapp/components/more_direct_channels.jsx
index 1b287b3b2..13ee50b4d 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}
@@ -258,4 +260,4 @@ export default class MoreDirectChannels extends React.Component {
MoreDirectChannels.propTypes = {
onModalDismissed: React.PropTypes.func
-};
+}; \ No newline at end of file