2016-11-06 21:46:01 +01:00
|
|
|
import Timeline from '../timeline/timeline.vue'
|
|
|
|
const PublicAndExternalTimeline = {
|
|
|
|
components: {
|
|
|
|
Timeline
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
timeline () { return this.$store.state.statuses.timelines.publicAndExternal }
|
2017-02-16 11:17:47 +01:00
|
|
|
},
|
|
|
|
created () {
|
2019-04-04 18:03:56 +02:00
|
|
|
this.$store.dispatch('startFetchingTimeline', { timeline: 'publicAndExternal' })
|
2017-02-16 11:17:47 +01:00
|
|
|
},
|
2021-04-25 12:44:50 +02:00
|
|
|
unmounted () {
|
2019-12-08 15:05:41 +01:00
|
|
|
this.$store.dispatch('stopFetchingTimeline', 'publicAndExternal')
|
2016-11-06 21:46:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default PublicAndExternalTimeline
|