Removed main_selected from updateResults as it's not used

This commit is contained in:
RemixDev 2020-09-24 15:14:47 +02:00
parent aaecaab04d
commit 3c276405af
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -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) {

View File

@ -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
}