diff options
author | enahum <nahumhbl@gmail.com> | 2016-12-05 10:19:12 -0300 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-12-05 08:19:12 -0500 |
commit | 145876681f03f68d2fcdd4f0339f6b2b9f7b9958 (patch) | |
tree | a1d46412813338d5e9453e3fc515dd52188cef91 /webapp/stores | |
parent | 05783664cd91e278913db5504e60bb8bc2992cb6 (diff) | |
download | chat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.tar.gz chat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.tar.bz2 chat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.zip |
Fix react warnings and part of backstage (#4706)
Diffstat (limited to 'webapp/stores')
-rw-r--r-- | webapp/stores/integration_store.jsx | 9 | ||||
-rw-r--r-- | webapp/stores/user_store.jsx | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/webapp/stores/integration_store.jsx b/webapp/stores/integration_store.jsx index ae818b443..33680452b 100644 --- a/webapp/stores/integration_store.jsx +++ b/webapp/stores/integration_store.jsx @@ -137,15 +137,6 @@ class IntegrationStore extends EventEmitter { this.setCommands(teamId, commands); } - editCommand(command) { - const teamId = command.team_id; - const commands = this.getCommands(teamId); - - commands.push(command); - - this.setCommands(teamId, commands); - } - updateCommand(command) { const teamId = command.team_id; const commands = this.getCommands(teamId); diff --git a/webapp/stores/user_store.jsx b/webapp/stores/user_store.jsx index 71b98d2e5..2369c38df 100644 --- a/webapp/stores/user_store.jsx +++ b/webapp/stores/user_store.jsx @@ -52,7 +52,7 @@ class UserStoreClass extends EventEmitter { this.statuses = {}; this.sessions = {}; - this.audits = {}; + this.audits = []; this.currentUserId = ''; this.noAccounts = false; } |