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

empty string if no query

parent efc6f8df
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ import SearchToolbar from './SearchToolbar.vue' ...@@ -128,7 +128,7 @@ import SearchToolbar from './SearchToolbar.vue'
} }
}, },
$route (to, from) { $route (to, from) {
this.select = to.query.q this.select = to.query.q || ""
} }
}, },
methods: { methods: {
......
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