summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_notifications.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-09-02 08:40:25 -0400
committerJoramWilander <jwawilander@gmail.com>2015-09-02 08:40:25 -0400
commit31519f7c88d61bc2828275b1be273cd97c8af4bb (patch)
tree3c64cdbfaba543b495e0d8bb188d8a63996b534a /web/react/components/channel_notifications.jsx
parent94049d1dd88150cd1714628464d3a8766f49e691 (diff)
downloadchat-31519f7c88d61bc2828275b1be273cd97c8af4bb.tar.gz
chat-31519f7c88d61bc2828275b1be273cd97c8af4bb.tar.bz2
chat-31519f7c88d61bc2828275b1be273cd97c8af4bb.zip
Changed imports to be upper case for multiple files.
Diffstat (limited to 'web/react/components/channel_notifications.jsx')
-rw-r--r--web/react/components/channel_notifications.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/react/components/channel_notifications.jsx b/web/react/components/channel_notifications.jsx
index 31a58cc3a..6b16e362c 100644
--- a/web/react/components/channel_notifications.jsx
+++ b/web/react/components/channel_notifications.jsx
@@ -4,8 +4,8 @@
var SettingItemMin = require('./setting_item_min.jsx');
var SettingItemMax = require('./setting_item_max.jsx');
-var utils = require('../utils/utils.jsx');
-var client = require('../utils/client.jsx');
+var Utils = require('../utils/utils.jsx');
+var Client = require('../utils/client.jsx');
var UserStore = require('../stores/user_store.jsx');
var ChannelStore = require('../stores/channel_store.jsx');
@@ -58,7 +58,7 @@ export default class ChannelNotifications extends React.Component {
newState.notifyLevel = notifyLevel;
newState.quietMode = quietMode;
- if (!utils.areStatesEqual(this.state, newState)) {
+ if (!Utils.areStatesEqual(this.state, newState)) {
this.setState(newState);
}
}
@@ -81,7 +81,7 @@ export default class ChannelNotifications extends React.Component {
return;
}
- client.updateNotifyLevel(data,
+ Client.updateNotifyLevel(data,
function success() {
var member = ChannelStore.getMember(channelId);
member.notify_level = notifyLevel;