Add replies.
This commit is contained in:
parent
78538da82f
commit
7e2c52b12c
3 changed files with 25 additions and 8 deletions
|
@ -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 = { }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue