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

Merge branch 'master' of git.app.uib.no:spraksamlingane/beta.ordbok.uib.no...

Merge branch 'master' of git.app.uib.no:spraksamlingane/beta.ordbok.uib.no into replace_suggestion_api
parents 1817ba5b d68167bc
No related branches found
No related tags found
No related merge requests found
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
> >
<template v-slot:item="data"> <template v-slot:item="data">
<span class="search-hit"> <span class="search-hit">
{{data.item.label}} {{data.item.label}}
</span> </span>
({{data.item.lang? data.item.lang[1] ? "bm, nn" : {"bob": "bm", "nob": "nn"}[data.item.lang[0]] : 'fritekstsøk'}}) ({{data.item.lang? data.item.lang[1] ? "bm, nn" : {"bob": "bm", "nob": "nn"}[data.item.lang[0]] : 'fritekstsøk'}})
</template> </template>
</v-combobox> </v-combobox>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
this.items = [] this.items = []
this.suggesting = false this.suggesting = false
}, 1) }, 1)
} }
// If blurred // If blurred
else { else {
...@@ -127,13 +127,13 @@ ...@@ -127,13 +127,13 @@
}); });
// whitespace necessary because duplicates aren't allowed in the dropdown // whitespace necessary because duplicates aren't allowed in the dropdown
hits.push({q: q, label: q + ' '}) hits.push({q: q, label: q + ' '})
self.items = hits self.items = hits
} }
self.loading = false self.loading = false
}) })
}, },
}, },
......
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