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

Remove word

parent 4fd55ab9
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@
if (self.suggesting) {
let hits = []
response.data.forEach((item, i) => {
let hit = {q: q, word: encodeURIComponent(item[0]), label: item[0]}
let hit = {q: q, 'label': item[0]}
hit.lang = item[1][1] ? "bm, nn" : {"bob": "bm", "nob": "nn"}[item[1][0]]
hits.push(hit)
......
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