2020-10-19 16:38:49 +00:00
|
|
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
|
|
import { faReply } from '@fortawesome/free-solid-svg-icons'
|
|
|
|
|
|
|
|
library.add(faReply)
|
2020-09-07 07:35:49 +00:00
|
|
|
|
|
|
|
const ReplyButton = {
|
|
|
|
name: 'ReplyButton',
|
|
|
|
props: ['status', 'replying'],
|
|
|
|
computed: {
|
|
|
|
loggedIn () {
|
|
|
|
return !!this.$store.state.users.currentUser
|
2022-09-19 17:39:21 +00:00
|
|
|
},
|
|
|
|
remoteInteractionLink () {
|
|
|
|
return this.$store.getters.remoteInteractionLink({ statusId: this.status.id })
|
2020-09-07 07:35:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ReplyButton
|