From 145876681f03f68d2fcdd4f0339f6b2b9f7b9958 Mon Sep 17 00:00:00 2001 From: enahum Date: Mon, 5 Dec 2016 10:19:12 -0300 Subject: Fix react warnings and part of backstage (#4706) --- webapp/stores/integration_store.jsx | 9 --------- webapp/stores/user_store.jsx | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'webapp/stores') 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; } -- cgit v1.2.3-1-g7c22