summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-06-29 11:05:16 -0700
committerCorey Hulen <corey@hulen.com>2017-06-29 11:05:16 -0700
commit5d239317dc71d73c63b466bc61a472e5fa39a76e (patch)
tree12671d037f44075f069e0c4c83961c562d1524cd /webapp
parenta3ece092626ac4c1d19123a18a5d1118af056f4d (diff)
downloadchat-5d239317dc71d73c63b466bc61a472e5fa39a76e.tar.gz
chat-5d239317dc71d73c63b466bc61a472e5fa39a76e.tar.bz2
chat-5d239317dc71d73c63b466bc61a472e5fa39a76e.zip
fix slash command add / edit front-ends (#6799)
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) {