forked from DebaucheryLibrarian/traxxx
Improved search query prep. Showing query in header after refresh.
This commit is contained in:
@@ -84,11 +84,6 @@ export default {
|
||||
components: {
|
||||
Search,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
query: this.$route.query ? this.$route.query.q : null,
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ async function search() {
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
query: null,
|
||||
query: this.$route.query ? this.$route.query.q : null,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user