do not regenerate status object

This commit is contained in:
taehoon 2019-05-07 16:20:24 -04:00
parent 9a9d66dca1
commit 78a4ab98af

View File

@ -461,11 +461,9 @@ export const mutations = {
state.timelines[timeline].flushMarker = id
},
addFavsAndRepeats (state, { id, favoritedByUsers, rebloggedByUsers }) {
state.allStatusesObject[id] = {
...state.allStatusesObject[id],
favoritedBy: favoritedByUsers,
rebloggedBy: rebloggedByUsers
}
const newStatus = state.allStatusesObject[id]
newStatus.favoritedBy = favoritedByUsers
newStatus.rebloggedBy = rebloggedByUsers
}
}