aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-05 10:55:15 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-05 10:55:15 +0100
commit82d023609bd20a5616c9773842cb8fb4d51dfdb7 (patch)
treecbeb764d369f0c6461f5251feb1bbbfc88f04ec9 /src/components/status/status.js
parent88d960b9f6109c0c57958fb74d841dab9954ac33 (diff)
parent572aceb7e7a86c227f2d92c0abf651ba9c3cb4df (diff)
Merge branch 'master' of ssh.gitgud.io:lambadalambda/pleroma-fe
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index f3816daa..2e6565e8 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -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
+ }
}
}