fix slash command add / edit front-ends (#6799)

This commit is contained in:
Chris
2017-06-29 11:05:16 -07:00
committed by Corey Hulen
parent a3ece09262
commit 5d239317dc
2 changed files with 4 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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) {