Skip to content
Snippets Groups Projects
Commit f2f6da0e authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Remove async

parent 4b21f934
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@
}
let self = this
self.api.get('suggest?', {params: {q: q, dict: self.$parent.lang, n: 9}})
.then((response) => {
.then(async (response) => {
if (self.$refs.autocomplete.searchInput == q & self.suggesting) {
let hits = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment