logo

pleroma-fe

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

reply_button.js (515B)


  1. import { library } from '@fortawesome/fontawesome-svg-core'
  2. import {
  3. faReply,
  4. faPlus,
  5. faTimes
  6. } from '@fortawesome/free-solid-svg-icons'
  7. library.add(
  8. faReply,
  9. faPlus,
  10. faTimes
  11. )
  12. const ReplyButton = {
  13. name: 'ReplyButton',
  14. props: ['status', 'replying'],
  15. computed: {
  16. loggedIn () {
  17. return !!this.$store.state.users.currentUser
  18. },
  19. remoteInteractionLink () {
  20. return this.$store.getters.remoteInteractionLink({ statusId: this.status.id })
  21. }
  22. }
  23. }
  24. export default ReplyButton