Fix search filter prevention
This commit is contained in:
parent
1614baf210
commit
e1266ec675
|
@ -88,7 +88,7 @@ export default Vue.extend({
|
||||||
if (this.searchSettings.type !== 'video') {
|
if (this.searchSettings.type !== 'video') {
|
||||||
const typeRadio = this.$refs.typeRadio
|
const typeRadio = this.$refs.typeRadio
|
||||||
typeRadio.updateSelectedValue('all')
|
typeRadio.updateSelectedValue('all')
|
||||||
this.updateType('all')
|
this.$store.commit('setSearchType', 'all')
|
||||||
}
|
}
|
||||||
this.$store.commit('setSearchTime', value)
|
this.$store.commit('setSearchTime', value)
|
||||||
},
|
},
|
||||||
|
@ -99,8 +99,8 @@ export default Vue.extend({
|
||||||
const durationRadio = this.$refs.durationRadio
|
const durationRadio = this.$refs.durationRadio
|
||||||
timeRadio.updateSelectedValue('')
|
timeRadio.updateSelectedValue('')
|
||||||
durationRadio.updateSelectedValue('')
|
durationRadio.updateSelectedValue('')
|
||||||
this.updateTime('')
|
this.$store.commit('setSearchTime', '')
|
||||||
this.updateDuration('')
|
this.$store.commit('setSearchDuration', '')
|
||||||
}
|
}
|
||||||
this.$store.commit('setSearchType', value)
|
this.$store.commit('setSearchType', value)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue