logo

pleroma-fe

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

timeline_menu_content.js (548B)


  1. import { mapState } from 'vuex'
  2. import { library } from '@fortawesome/fontawesome-svg-core'
  3. import {
  4. faUsers,
  5. faGlobe,
  6. faBookmark,
  7. faEnvelope,
  8. faHome
  9. } from '@fortawesome/free-solid-svg-icons'
  10. library.add(
  11. faUsers,
  12. faGlobe,
  13. faBookmark,
  14. faEnvelope,
  15. faHome
  16. )
  17. const TimelineMenuContent = {
  18. computed: {
  19. ...mapState({
  20. currentUser: state => state.users.currentUser,
  21. privateMode: state => state.instance.private,
  22. federating: state => state.instance.federating
  23. })
  24. }
  25. }
  26. export default TimelineMenuContent