diff --git a/src/components/Autocomplete.vue b/src/components/Autocomplete.vue index 2a5d45443232c5526dd1d8e897fed6cfeaa126a2..371c210f6205af3e8a548ef7fe6552d5a0c0192a 100644 --- a/src/components/Autocomplete.vue +++ b/src/components/Autocomplete.vue @@ -102,7 +102,7 @@ self.api.get('suggest?', {params: {q: q, dict: self.get_lang(), n: 80, scope: 'w', dform: 'int', meta: 'n'}}) .then(async (response) => { if (self.$refs.autocomplete.searchInput == q & self.suggesting) { - let suggestions = response.data.a.w.map(item => ({q: q, match: item[0], label: item[0], time: time, lang: [item[1]]})) + let suggestions = response.data.a.exact.map(item => ({q: q, match: item[0], label: item[0], time: time, lang: [item[1]]})) if (/[_*%|]/.test(q)) { suggestions.unshift({q: q, label: q, time: time, search: 2}) }