summaryrefslogtreecommitdiffstats
path: root/webapp/stores
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/stores')
-rw-r--r--webapp/stores/integration_store.jsx9
-rw-r--r--webapp/stores/user_store.jsx2
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;
}