pleroma-fe/src/components/public_and_external_timeline/public_and_external_timelin...

18 lines
459 B
JavaScript
Raw Normal View History

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 }
},
created () {
2019-04-04 18:03:56 +02:00
this.$store.dispatch('startFetchingTimeline', { timeline: 'publicAndExternal' })
},
2021-04-25 12:44:50 +02:00
unmounted () {
this.$store.dispatch('stopFetchingTimeline', 'publicAndExternal')
2016-11-06 21:46:01 +01:00
}
}
export default PublicAndExternalTimeline