Fix a bug where mentioning a user twice will not fill the mention into the textarea
This commit is contained in:
parent
e31bf6646b
commit
0dc2afb826
4 changed files with 12 additions and 1 deletions
|
|
@ -44,6 +44,10 @@ const PostStatusModal = {
|
|||
methods: {
|
||||
closeModal () {
|
||||
this.$store.dispatch('closePostStatusModal')
|
||||
},
|
||||
resetAndClose () {
|
||||
this.$store.dispatch('resetPostStatusModal')
|
||||
this.$store.dispatch('closePostStatusModal')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<PostStatusForm
|
||||
class="panel-body"
|
||||
v-bind="params"
|
||||
@posted="closeModal"
|
||||
@posted="resetAndClose"
|
||||
/>
|
||||
</div>
|
||||
</Modal>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue