diff options
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/stores/suggestion_store.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/stores/suggestion_store.jsx b/webapp/stores/suggestion_store.jsx index d87b07076..39bea0b0c 100644 --- a/webapp/stores/suggestion_store.jsx +++ b/webapp/stores/suggestion_store.jsx @@ -121,7 +121,7 @@ class SuggestionStore extends EventEmitter { } addSuggestions(id, terms, items, component, matchedPretext) { - if (this.getPretext(id) !== matchedPretext) { + if (!this.getPretext(id).endsWith(matchedPretext)) { // These suggestions are out of date since the pretext has changed return; } |