2016-10-26 17:03:55 +00:00
|
|
|
import Timeline from '../timeline/timeline.vue'
|
|
|
|
const PublicTimeline = {
|
|
|
|
components: {
|
|
|
|
Timeline
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
timeline () { return this.$store.state.statuses.timelines.public }
|
2017-02-16 10:17:47 +00:00
|
|
|
},
|
|
|
|
created () {
|
2019-04-04 16:03:56 +00:00
|
|
|
this.$store.dispatch('startFetchingTimeline', { timeline: 'public' })
|
2017-02-16 10:17:47 +00:00
|
|
|
},
|
2021-04-25 10:44:50 +00:00
|
|
|
unmounted () {
|
2019-12-08 14:05:41 +00:00
|
|
|
this.$store.dispatch('stopFetchingTimeline', 'public')
|
2016-10-26 17:03:55 +00:00
|
|
|
}
|
2017-02-16 10:17:47 +00:00
|
|
|
|
2016-10-26 17:03:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default PublicTimeline
|