diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-12-04 11:20:01 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-12-04 11:20:01 +0200 |
| commit | 1fd1553a1c06f22ce5718b16814d0f03688fdc06 (patch) | |
| tree | 6416934d1cf657b4b7fe27f628add4940c356a74 /src/components/settings_modal/tabs/profile_tab.js | |
| parent | 15bed586dcd1d10a6a05c664cf5bab72cdbf2a46 (diff) | |
| parent | 42c747a342cd7d435dcbe411276ac4999ff92395 (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.js | 8 |
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 |
