Add replies.

This commit is contained in:
Roger Braun 2016-11-03 16:59:27 +01:00
parent 78538da82f
commit 7e2c52b12c
3 changed files with 25 additions and 8 deletions

View file

@ -1,16 +1,20 @@
import statusPoster from '../../services/status_poster/status_poster.service.js'
const PostStatusForm = {
data() {
props: [
'replyTo'
],
data () {
return {
newStatus: { }
}
},
methods: {
postStatus(newStatus) {
postStatus (newStatus) {
statusPoster.postStatus({
status: newStatus.status,
store: this.$store
store: this.$store,
inReplyToStatusId: this.replyTo
})
this.newStatus = { }
}