Minor fix
Этот коммит содержится в:
@@ -33,7 +33,7 @@ export default class ChannelNotificationsModal extends React.Component {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
componentWillReceiveProps(nextProps) {
|
componentWillReceiveProps(nextProps) {
|
||||||
if (nextProps.show) {
|
if (!this.props.show && nextProps.show) {
|
||||||
this.onListenerChange();
|
this.onListenerChange();
|
||||||
ChannelStore.addChangeListener(this.onListenerChange);
|
ChannelStore.addChangeListener(this.onListenerChange);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user