forked from srxl/akkoma-fe
review fixes
This commit is contained in:
parent
b1ab09b348
commit
e6e3b752d6
2 changed files with 2 additions and 3 deletions
|
@ -186,7 +186,6 @@ const EmojiInput = {
|
|||
this.suggestions = take(matchedSuggestions, 5)
|
||||
.map(({ imageUrl, ...rest }) => ({
|
||||
...rest,
|
||||
// eslint-disable-next-line camelcase
|
||||
img: imageUrl || ''
|
||||
}))
|
||||
},
|
||||
|
|
|
@ -442,10 +442,10 @@ const users = {
|
|||
store.commit('setUserForNotification', notification)
|
||||
})
|
||||
},
|
||||
searchUsers ({ rootState, commit }, { query, saveUsers = true }) {
|
||||
searchUsers ({ rootState, commit }, { query }) {
|
||||
return rootState.api.backendInteractor.searchUsers({ query })
|
||||
.then((users) => {
|
||||
if (saveUsers) commit('addNewUsers', users)
|
||||
commit('addNewUsers', users)
|
||||
return users
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue