mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed copy-paste error in code
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = React.createClass({
|
||||
var notifyLevel = ChannelStore.getMember(channel_id).notify_level;
|
||||
var quietMode = false;
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user