logo

pleroma-fe

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

public_and_external_timeline.js (459B)


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