aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-11-27 13:57:36 +0000
committerShpuld Shpludson <shp@cock.li>2020-11-27 13:57:36 +0000
commit32f77cfbd7a7f459e69b94a85c1aeaef9ddb9ea1 (patch)
tree162d5c06ba27fdc11a23a5727a53e95c686c6de5 /src/components/post_status_form
parent14ce0c1c073e17060a7d3cbe4352a5e9881c03dd (diff)
parente6e3b752d65fe2038a1b42ef9ddae8c21bf1cad2 (diff)
Merge branch 'fix/make-autocomplete-wait-for-request-to-finish' into 'develop'
Fix #1011 Make autocomplete wait for user search to finish before suggesting Closes #1011 See merge request pleroma/pleroma-fe!1289
Diffstat (limited to 'src/components/post_status_form')
-rw-r--r--src/components/post_status_form/post_status_form.js3
1 files changed, 1 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
index 3ff4a3c8..4148381c 100644
--- a/src/components/post_status_form/post_status_form.js
+++ b/src/components/post_status_form/post_status_form.js
@@ -159,8 +159,7 @@ const PostStatusForm = {
...this.$store.state.instance.emoji,
...this.$store.state.instance.customEmoji
],
- users: this.$store.state.users.users,
- updateUsersList: (query) => this.$store.dispatch('searchUsers', { query })
+ store: this.$store
})
},
emojiSuggestor () {