Code refactoring
This commit is contained in:
parent
19870c0b6d
commit
0dc7c45f32
6 changed files with 15 additions and 30 deletions
|
@ -7,7 +7,7 @@ const PublicTimeline = {
|
|||
timeline () { return this.$store.state.statuses.timelines.public }
|
||||
},
|
||||
created () {
|
||||
this.$store.dispatch('startFetching', 'public')
|
||||
this.$store.dispatch('startFetching', { timeline: 'public' })
|
||||
},
|
||||
destroyed () {
|
||||
this.$store.dispatch('stopFetching', 'public')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue