Fetch Public and TWKN timelines when viewed.
This commit is contained in:
parent
14f07dde5d
commit
832bd3cdd2
6 changed files with 46 additions and 8 deletions
|
@ -5,7 +5,14 @@ const PublicTimeline = {
|
|||
},
|
||||
computed: {
|
||||
timeline () { return this.$store.state.statuses.timelines.public }
|
||||
},
|
||||
created () {
|
||||
this.$store.dispatch('startFetching', 'public')
|
||||
},
|
||||
destroyed () {
|
||||
this.$store.dispatch('stopFetching', 'public')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default PublicTimeline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue