Removed main_selected from updateResults as it's not used
This commit is contained in:
parent
aaecaab04d
commit
3c276405af
File diff suppressed because one or more lines are too long
@ -187,7 +187,7 @@ export default {
|
||||
this.showNewResults(term)
|
||||
}
|
||||
},
|
||||
checkIfUpdateResults(term, mainSelected) {
|
||||
checkIfUpdateResults(term) {
|
||||
let needToUpdateSearch = term === this.results.query && this.currentTab.searchType !== 'all'
|
||||
|
||||
if (needToUpdateSearch) {
|
||||
|
@ -76,7 +76,7 @@ export default {
|
||||
}
|
||||
} else {
|
||||
if (isShowingSearch && sameAsLastSearch){
|
||||
this.$root.$emit('mainSearch:updateResults', term, window.main_selected)
|
||||
this.$root.$emit('mainSearch:updateResults', term)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user