aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/tabs/profile_tab.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-12-04 11:20:01 +0200
committerShpuld Shpuldson <shp@cock.li>2020-12-04 11:20:01 +0200
commit1fd1553a1c06f22ce5718b16814d0f03688fdc06 (patch)
tree6416934d1cf657b4b7fe27f628add4940c356a74 /src/components/settings_modal/tabs/profile_tab.js
parent15bed586dcd1d10a6a05c664cf5bab72cdbf2a46 (diff)
parent42c747a342cd7d435dcbe411276ac4999ff92395 (diff)
Merge branch 'develop' into feat/report-notification
Diffstat (limited to 'src/components/settings_modal/tabs/profile_tab.js')
-rw-r--r--src/components/settings_modal/tabs/profile_tab.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/settings_modal/tabs/profile_tab.js b/src/components/settings_modal/tabs/profile_tab.js
index a3e4feaf..a4fed629 100644
--- a/src/components/settings_modal/tabs/profile_tab.js
+++ b/src/components/settings_modal/tabs/profile_tab.js
@@ -68,8 +68,7 @@ const ProfileTab = {
...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 () {
@@ -79,10 +78,7 @@ const ProfileTab = {
] })
},
userSuggestor () {
- return suggestor({
- users: this.$store.state.users.users,
- updateUsersList: (query) => this.$store.dispatch('searchUsers', { query })
- })
+ return suggestor({ store: this.$store })
},
fieldsLimits () {
return this.$store.state.instance.fieldsLimits