mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-31 17:45:22 +01:00
Through reload if the function is not implemented
This commit is contained in:
parent
9a59093ba7
commit
c4a0380005
@ -76,7 +76,20 @@ export default {
|
||||
this.$store.dispatch('TimelineSpace/Modals/NewToot/openModal')
|
||||
},
|
||||
reload () {
|
||||
this.$store.commit('TimelineSpace/HeaderMenu/changeReload', true)
|
||||
switch (this.title) {
|
||||
case 'Home':
|
||||
case 'Notification':
|
||||
case 'Favourite':
|
||||
case 'Local timeline':
|
||||
case 'Public timeline':
|
||||
case 'Hashtag':
|
||||
case `#${this.$route.params.tag}`:
|
||||
case 'Lists':
|
||||
this.$store.commit('TimelineSpace/HeaderMenu/changeReload', true)
|
||||
break
|
||||
default:
|
||||
console.log('Not impletemented')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user