forked from AkkomaGang/akkoma-fe
Norm
aedd0794a4
From: https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1419
This is the frontend side of AkkomaGang/akkoma#198 (merged in a6d85003fe
).
Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Reviewed-on: AkkomaGang/pleroma-fe#168
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
20 lines
467 B
JavaScript
20 lines
467 B
JavaScript
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
import { faReply } from '@fortawesome/free-solid-svg-icons'
|
|
|
|
library.add(faReply)
|
|
|
|
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
|