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

18 lines
451 B
JavaScript
Raw Normal View History

2016-11-06 20:46:01 +00:00
import Timeline from '../timeline/timeline.vue'
const PublicAndExternalTimeline = {
components: {
Timeline
},
computed: {
timeline () { return this.$store.state.statuses.timelines.publicAndExternal }
},
created () {
2019-04-04 16:03:56 +00:00
this.$store.dispatch('startFetchingTimeline', { timeline: 'publicAndExternal' })
},
destroyed () {
this.$store.dispatch('stopFetching', 'publicAndExternal')
2016-11-06 20:46:01 +00:00
}
}
export default PublicAndExternalTimeline