19 lines
414 B
JavaScript
19 lines
414 B
JavaScript
import Timeline from '../timeline/timeline.vue'
|
|
const BubbleTimeline = {
|
|
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 BubbleTimeline
|