3
0

Fix discovery query text highlight throwing error on empty query

This commit is contained in:
Jože Fortun
2022-11-28 16:23:54 +01:00
parent 3be6b9285e
commit f2469f9353
2 changed files with 2 additions and 2 deletions
@@ -37,7 +37,7 @@
</label>
<div class="mt-1">
<text-highlight
:queries="[$route.query.query]"
:queries="query"
highlight-style="padding: 0 0.05rem;"
>
{{ value }}
@@ -33,7 +33,7 @@ export default {
},
query () {
return this.$route.query.query || ''
return [this.$route.query.query || '']
},
},