Load search from query

This commit is contained in:
Liam Dyer
2020-04-17 12:58:51 -04:00
parent b114754da7
commit ee06cb0caf
2 changed files with 18 additions and 2 deletions

View File

@@ -56,6 +56,13 @@ export default {
},
mounted() {
this.showTitle = true
const keywords = this.$route.query.keywords
const tags = this.$route.query.tags
this.searchInput = {
keywords: keywords && R.split(',', keywords),
tags: tags && R.split(',', tags),
}
},
methods: {
async createCopyUrl(resource) {