diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-12-01 15:00:53 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-12-01 15:00:53 -0500 |
commit | c8f642a499215331e578fed409257ac2647b7f0f (patch) | |
tree | bce9a911853aa8e2766debbe43a9812ebc23c4ca /web | |
parent | e99437aa3b9444e8249c0900d9e402c7aa1fdecf (diff) | |
parent | b8a1894b00fca1ef60f5e4607feab5db94677923 (diff) | |
download | chat-c8f642a499215331e578fed409257ac2647b7f0f.tar.gz chat-c8f642a499215331e578fed409257ac2647b7f0f.tar.bz2 chat-c8f642a499215331e578fed409257ac2647b7f0f.zip |
Merge pull request #1565 from mattermost/plt-1270
Minor fix
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/channel_notifications_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/channel_notifications_modal.jsx b/web/react/components/channel_notifications_modal.jsx index bae1f13f0..887589468 100644 --- a/web/react/components/channel_notifications_modal.jsx +++ b/web/react/components/channel_notifications_modal.jsx @@ -33,7 +33,7 @@ export default class ChannelNotificationsModal extends React.Component { }; } componentWillReceiveProps(nextProps) { - if (nextProps.show) { + if (!this.props.show && nextProps.show) { this.onListenerChange(); ChannelStore.addChangeListener(this.onListenerChange); } else { |