logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 572aceb7e7a86c227f2d92c0abf651ba9c3cb4df
parent: 2c999ce5a2f1246b6e982b188302a0e5a0775d7d
Author: Roger Braun <roger@rogerbraun.net>
Date:   Thu,  3 Nov 2016 17:35:49 +0100

Hide after posting.

Diffstat:

Msrc/components/post_status_form/post_status_form.js1+
Msrc/components/status/status.vue4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js @@ -45,6 +45,7 @@ const PostStatusForm = { inReplyToStatusId: this.replyTo }) this.newStatus = { } + this.$emit('posted') } } } diff --git a/src/components/status/status.vue b/src/components/status/status.vue @@ -35,7 +35,7 @@ <div> <div class='status-actions'> <div> - <a href="#" v-on:click.prevent="toggleReplying()"> + <a href="#" v-on:click.prevent="toggleReplying"> <i class='fa icon-reply'></i> </a> </div> @@ -45,7 +45,7 @@ <favorite-button :status=status></favorite-button> </div> - <post-status-form v-if="replying" :reply-to="status.id" :attentions="status.attentions" :repliedUser="status.user"></post-status-form> + <post-status-form v-if="replying" :reply-to="status.id" :attentions="status.attentions" :repliedUser="status.user" v-on:posted="toggleReplying"></post-status-form> </div> </div> </div>