2016-10-27 04:03:55 +11:00
|
|
|
import Timeline from '../timeline/timeline.vue'
|
|
|
|
const PublicTimeline = {
|
|
|
|
components: {
|
|
|
|
Timeline
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
timeline () { return this.$store.state.statuses.timelines.public }
|
2017-02-16 21:17:47 +11:00
|
|
|
},
|
|
|
|
created () {
|
2019-02-08 10:23:18 +11:00
|
|
|
this.$store.dispatch('startFetching', { timeline: 'public' })
|
2017-02-16 21:17:47 +11:00
|
|
|
},
|
|
|
|
destroyed () {
|
|
|
|
this.$store.dispatch('stopFetching', 'public')
|
2016-10-27 04:03:55 +11:00
|
|
|
}
|
2017-02-16 21:17:47 +11:00
|
|
|
|
2016-10-27 04:03:55 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
export default PublicTimeline
|