summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/integrations/components/add_command.jsx3
-rw-r--r--webapp/components/integrations/components/edit_command.jsx3
2 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/integrations/components/add_command.jsx b/webapp/components/integrations/components/add_command.jsx
index dcf059a1d..2141dda4a 100644
--- a/webapp/components/integrations/components/add_command.jsx
+++ b/webapp/components/integrations/components/add_command.jsx
@@ -84,7 +84,8 @@ export default class AddCommand extends React.Component {
method: this.state.method,
username: this.state.username,
icon_url: this.state.iconUrl,
- auto_complete: this.state.autocomplete
+ auto_complete: this.state.autocomplete,
+ team_id: this.props.team.id
};
if (command.auto_complete) {
diff --git a/webapp/components/integrations/components/edit_command.jsx b/webapp/components/integrations/components/edit_command.jsx
index 68b50c01c..817eb7367 100644
--- a/webapp/components/integrations/components/edit_command.jsx
+++ b/webapp/components/integrations/components/edit_command.jsx
@@ -170,7 +170,8 @@ export default class EditCommand extends React.Component {
method: this.state.method,
username: this.state.username,
icon_url: this.state.iconUrl,
- auto_complete: this.state.autocomplete
+ auto_complete: this.state.autocomplete,
+ team_id: this.props.team.id
};
if (this.originalCommand.id) {