forked from AkkomaGang/akkoma-fe
do not regenerate status object
This commit is contained in:
parent
9a9d66dca1
commit
78a4ab98af
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue