From 5d239317dc71d73c63b466bc61a472e5fa39a76e Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 29 Jun 2017 11:05:16 -0700 Subject: fix slash command add / edit front-ends (#6799) --- webapp/components/integrations/components/add_command.jsx | 3 ++- webapp/components/integrations/components/edit_command.jsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'webapp/components/integrations') 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) { -- cgit v1.2.3-1-g7c22