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,8 +1,12 @@
import Attachment from '../attachment/attachment.vue'
import FavoriteButton from '../favorite_button/favorite_button.vue'
import PostStatusForm from '../post_status_form/post_status_form.vue'
const Status = {
props: [ 'statusoid' ],
data: () => ({
replying: false
}),
computed: {
retweet () { return !!this.statusoid.retweeted_status },
retweeter () { return this.statusoid.user.name },
@ -16,7 +20,13 @@ const Status = {
},
components: {
Attachment,
FavoriteButton
FavoriteButton,
PostStatusForm
},
methods: {
toggleReplying () {
this.replying = !this.replying
}
}
}