#436 - apply patch and clean up

This commit is contained in:
dave 2019-03-31 21:59:18 -04:00
parent b909796683
commit 21ea5adc8b
5 changed files with 44 additions and 29 deletions

View file

@ -122,7 +122,9 @@ export const mutations = {
status.user = state.usersObject[status.user.id]
},
setUserForNotification (state, notification) {
notification.action.user = state.usersObject[notification.action.user.id]
if (notification.type !== 'follow') {
notification.action.user = state.usersObject[notification.action.user.id]
}
notification.from_profile = state.usersObject[notification.from_profile.id]
},
setColor (state, { user: { id }, highlighted }) {