add with_relationships where necessary

This commit is contained in:
Shpuld Shpuldson 2020-05-13 17:48:31 +03:00
parent 7a0e554daf
commit 8e39971098
4 changed files with 14 additions and 9 deletions

View file

@ -112,7 +112,7 @@ const UserSettings = {
...this.$store.state.instance.customEmoji
],
users: this.$store.state.users.users,
updateUsersList: (input) => this.$store.dispatch('searchUsers', input)
updateUsersList: (query) => this.$store.dispatch('searchUsers', { query })
})
},
emojiSuggestor () {
@ -362,7 +362,7 @@ const UserSettings = {
})
},
queryUserIds (query) {
return this.$store.dispatch('searchUsers', query)
return this.$store.dispatch('searchUsers', { query })
.then((users) => map(users, 'id'))
},
blockUsers (ids) {