diff options
-rw-r--r-- | webapp/stores/suggestion_store.jsx | 2 | ||||
-rw-r--r-- | webapp/utils/async_client.jsx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/webapp/stores/suggestion_store.jsx b/webapp/stores/suggestion_store.jsx index 39bea0b0c..83c0c2a17 100644 --- a/webapp/stores/suggestion_store.jsx +++ b/webapp/stores/suggestion_store.jsx @@ -232,6 +232,8 @@ class SuggestionStore extends EventEmitter { this.clearSuggestions(id); } + other.pretext = other.pretext.toLowerCase(); + this.setPretext(id, other.pretext); this.emitPretextChanged(id, other.pretext); diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx index 481f85000..9bcb4e07f 100644 --- a/webapp/utils/async_client.jsx +++ b/webapp/utils/async_client.jsx @@ -989,7 +989,7 @@ export function getSuggestedCommands(command, suggestionId, component) { } }, (err) => { - dispatchError(err, 'getCommandSuggestions'); + dispatchError(err, 'getSuggestedCommands'); } ); } |