aboutsummaryrefslogtreecommitdiff
path: root/src/components/reply_button/reply_button.js
blob: d6382982da6e559af2d4df1beacd148d6421cd64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
    }
  }
}

export default ReplyButton