Hide after posting.
This commit is contained in:
parent
2c999ce5a2
commit
572aceb7e7
2 changed files with 3 additions and 2 deletions
|
@ -45,6 +45,7 @@ const PostStatusForm = {
|
|||
inReplyToStatusId: this.replyTo
|
||||
})
|
||||
this.newStatus = { }
|
||||
this.$emit('posted')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue