aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_modal/post_status_modal.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-07-25 08:29:59 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-07-25 08:29:59 +0000
commita1641193b5b7c72e919b9848b167bc4d4a40444b (patch)
tree317378109cb24cec3b7a3e347d1a8892f0d4c0ac /src/components/post_status_modal/post_status_modal.js
parente31bf6646b9cdd21bef7b4f64083b1f8c2bbd913 (diff)
parent0dc2afb8261fc474bd46bcb1b57ab845fc1baf32 (diff)
Merge branch 'tusooa/983-mention-twice' into 'develop'
Fix a bug where mentioning a user twice will not fill the mention into the textarea Closes #983 See merge request pleroma/pleroma-fe!1850
Diffstat (limited to 'src/components/post_status_modal/post_status_modal.js')
-rw-r--r--src/components/post_status_modal/post_status_modal.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/post_status_modal/post_status_modal.js b/src/components/post_status_modal/post_status_modal.js
index b44354db..8970dd9b 100644
--- a/src/components/post_status_modal/post_status_modal.js
+++ b/src/components/post_status_modal/post_status_modal.js
@@ -44,6 +44,10 @@ const PostStatusModal = {
methods: {
closeModal () {
this.$store.dispatch('closePostStatusModal')
+ },
+ resetAndClose () {
+ this.$store.dispatch('resetPostStatusModal')
+ this.$store.dispatch('closePostStatusModal')
}
}
}