diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-12-01 14:53:42 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-12-01 14:53:42 -0500 |
commit | b8a1894b00fca1ef60f5e4607feab5db94677923 (patch) | |
tree | 97518db4c684c1613987cc4c453beeafdc61528e /web | |
parent | 362b9f2f940a242b19fe2d4d1b2e896ad12ab092 (diff) | |
download | chat-b8a1894b00fca1ef60f5e4607feab5db94677923.tar.gz chat-b8a1894b00fca1ef60f5e4607feab5db94677923.tar.bz2 chat-b8a1894b00fca1ef60f5e4607feab5db94677923.zip |
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 { |