Merge pull request #1565 from mattermost/plt-1270

Minor fix
Этот коммит содержится в:
Joram Wilander
2015-12-01 15:00:53 -05:00
родитель e99437aa3b b8a1894b00
Коммит c8f642a499

Просмотреть файл

@@ -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 {