diff --git a/webapp/stores/suggestion_store.jsx b/webapp/stores/suggestion_store.jsx index 39bea0b0c0..83c0c2a179 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 481f85000e..9bcb4e07f1 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'); } ); }