pleroma-fe/src/components/bubble_timeline/bubble_timeline.js
FloatingGhost 0613a4d285
add bubble timeline
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-30 16:04:37 +01:00

19 lines
405 B
JavaScript

import Timeline from '../timeline/timeline.vue'
const PublicTimeline = {
components: {
Timeline
},
computed: {
timeline () { return this.$store.state.statuses.timelines.bubble }
},
created () {
this.$store.dispatch('startFetchingTimeline', { timeline: 'bubble' })
},
unmounted () {
this.$store.dispatch('stopFetchingTimeline', 'bubble')
}
}
export default PublicTimeline