* Update app to hide top nav filter panel on page change (#1479)
This commit is contained in:
parent
aa992c1b77
commit
1ff6617ff2
|
@ -99,7 +99,12 @@ export default Vue.extend({
|
|||
}
|
||||
},
|
||||
watch: {
|
||||
windowTitle: 'setWindowTitle'
|
||||
windowTitle: 'setWindowTitle',
|
||||
$route () {
|
||||
// react to route changes...
|
||||
// Hide top nav filter panel on page change
|
||||
this.$refs.topNav.hideFilters()
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this.setWindowTitle()
|
||||
|
|
|
@ -280,6 +280,9 @@ export default Vue.extend({
|
|||
navigate: function (route) {
|
||||
this.$router.push('/' + route)
|
||||
},
|
||||
hideFilters: function () {
|
||||
this.showFilters = false
|
||||
},
|
||||
...mapActions([
|
||||
'showToast',
|
||||
'getYoutubeUrlInfo',
|
||||
|
|
Loading…
Reference in New Issue