summaryrefslogtreecommitdiffstats
path: root/webapp/stores
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-05-12 07:50:53 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-05-12 07:50:53 -0400
commit4b260b761a78ea1a0dd6b02df7d25e93b496b6ff (patch)
treef82ff05a4692a52807260df326b9b12698ebf7f2 /webapp/stores
parenta3cfdf04836bb5cef2c34626c07ce04349178792 (diff)
downloadchat-4b260b761a78ea1a0dd6b02df7d25e93b496b6ff.tar.gz
chat-4b260b761a78ea1a0dd6b02df7d25e93b496b6ff.tar.bz2
chat-4b260b761a78ea1a0dd6b02df7d25e93b496b6ff.zip
Updating client dependancies and ESLint (#2954)
* Updating client dependancies * Fixing eslint errors with updates * Updating eslint
Diffstat (limited to 'webapp/stores')
-rw-r--r--webapp/stores/channel_store.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/stores/channel_store.jsx b/webapp/stores/channel_store.jsx
index 32ea8441c..b34e92530 100644
--- a/webapp/stores/channel_store.jsx
+++ b/webapp/stores/channel_store.jsx
@@ -290,7 +290,7 @@ class ChannelStoreClass extends EventEmitter {
}
leaveChannel(id) {
- delete this.channelMembers[id];
+ Reflect.deleteProperty(this.channelMembers, id);
const element = this.channels.indexOf(id);
if (element > -1) {
this.channels.splice(element, 1);