logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

public_timeline.js (405B)


  1. import Timeline from '../timeline/timeline.vue'
  2. const PublicTimeline = {
  3. components: {
  4. Timeline
  5. },
  6. computed: {
  7. timeline () { return this.$store.state.statuses.timelines.public }
  8. },
  9. created () {
  10. this.$store.dispatch('startFetchingTimeline', { timeline: 'public' })
  11. },
  12. unmounted () {
  13. this.$store.dispatch('stopFetchingTimeline', 'public')
  14. }
  15. }
  16. export default PublicTimeline