diff options
Diffstat (limited to 'web/react')
-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 { |