minor adjustments
This commit is contained in:
@@ -44,16 +44,14 @@ export default {
|
|||||||
this.debounceID = setTimeout(() => {
|
this.debounceID = setTimeout(() => {
|
||||||
const keywords = updatedChanges.query.keywords
|
const keywords = updatedChanges.query.keywords
|
||||||
const tags = updatedChanges.query.tags
|
const tags = updatedChanges.query.tags
|
||||||
const newSearchInput = {
|
this.searchInput = {
|
||||||
keywords: keywords && R.split(',', keywords),
|
keywords: keywords && R.split(',', keywords),
|
||||||
tags: tags && R.split(',', tags),
|
tags: tags && R.split(',', tags),
|
||||||
}
|
}
|
||||||
this.searchInput = newSearchInput
|
|
||||||
}, 500)
|
}, 500)
|
||||||
},
|
},
|
||||||
searchInput(searchInput) {
|
searchInput(searchInput) {
|
||||||
this.resources = this.$store.getters['data/findBySearchInputs'](searchInput.keywords, searchInput.tags)
|
this.resources = this.$store.getters['data/findBySearchInputs'](searchInput.keywords, searchInput.tags)
|
||||||
console.log(this.resources)
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user