From f2f6da0e7081746f474b323381e5b53a6c32b927 Mon Sep 17 00:00:00 2001 From: Henrik Askjer <henrik.askjer@uib.no> Date: Wed, 1 Sep 2021 14:12:39 +0200 Subject: [PATCH] Remove async --- src/components/Autocomplete.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Autocomplete.vue b/src/components/Autocomplete.vue index c8d7b067..213c7551 100644 --- a/src/components/Autocomplete.vue +++ b/src/components/Autocomplete.vue @@ -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 = [] -- GitLab