Add todo comment
This commit is contained in:
parent
333afd2138
commit
300259fd97
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ export const mutations = {
|
||||||
},
|
},
|
||||||
updateMutes (state, mutedUsers) {
|
updateMutes (state, mutedUsers) {
|
||||||
each(state.users, (user) => { user.muted = false })
|
each(state.users, (user) => { user.muted = false })
|
||||||
|
// TODO: Remove this line once we get muted property of user object from the api
|
||||||
const newUsers = map(mutedUsers, (user) => ({ ...user, muted: true }))
|
const newUsers = map(mutedUsers, (user) => ({ ...user, muted: true }))
|
||||||
each(newUsers, (user) => mergeOrAdd(state.users, state.usersObject, user))
|
each(newUsers, (user) => mergeOrAdd(state.users, state.usersObject, user))
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue