Code refactoring

This commit is contained in:
Edijs 2019-02-07 16:23:18 -07:00
parent 19870c0b6d
commit 0dc7c45f32
6 changed files with 15 additions and 30 deletions

View file

@ -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')