mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
fix slash command add / edit front-ends (#6799)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user