27 lines
515 B
JavaScript
27 lines
515 B
JavaScript
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
|