If slash command fails leave the command in the textbox
This commit is contained in:
parent
e269c0a4d3
commit
26389994d7
1 changed files with 2 additions and 0 deletions
|
|
@ -424,6 +424,8 @@ export default class PostTextbox extends PureComponent {
|
|||
const {error} = await actions.executeCommand(msg, channelId, rootId);
|
||||
|
||||
if (error) {
|
||||
this.handleTextChange(msg);
|
||||
this.changeDraft(msg);
|
||||
Alert.alert(
|
||||
intl.formatMessage({
|
||||
id: 'mobile.commands.error_title',
|
||||
|
|
|
|||
Loading…
Reference in a new issue