Fixed copy-paste error in code
Этот коммит содержится в:
@@ -21,7 +21,7 @@ module.exports = React.createClass({
|
|||||||
var notifyLevel = ChannelStore.getMember(channel_id).notify_level;
|
var notifyLevel = ChannelStore.getMember(channel_id).notify_level;
|
||||||
var quietMode = false;
|
var quietMode = false;
|
||||||
if (notifyLevel === "quiet") quietMode = true;
|
if (notifyLevel === "quiet") quietMode = true;
|
||||||
self.setState({ notify_level: notifyLevel, quiet_mode: quietMode, title: button.getAttribute('data-channelid'), channel_id: channel_id });
|
self.setState({ notify_level: notifyLevel, quiet_mode: quietMode, title: button.getAttribute('data-title'), channel_id: channel_id });
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
componentWillUnmount: function() {
|
componentWillUnmount: function() {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user