reply_button.js (515B)
- import { library } from '@fortawesome/fontawesome-svg-core'
- import {
- faReply,
- faPlus,
- faTimes
- } from '@fortawesome/free-solid-svg-icons'
- library.add(
- faReply,
- faPlus,
- faTimes
- )
- const ReplyButton = {
- name: 'ReplyButton',
- props: ['status', 'replying'],
- computed: {
- loggedIn () {
- return !!this.$store.state.users.currentUser
- },
- remoteInteractionLink () {
- return this.$store.getters.remoteInteractionLink({ statusId: this.status.id })
- }
- }
- }
- export default ReplyButton