filter pinned statuses based on pinned entity instead of a separate user entity
This commit is contained in:
parent
cd0a7afa06
commit
e8abe1273b
4 changed files with 8 additions and 13 deletions
|
@ -160,9 +160,6 @@ export const mutations = {
|
|||
saveMuteIds (state, muteIds) {
|
||||
state.currentUser.muteIds = muteIds
|
||||
},
|
||||
savePinnedStatusIds (state, { userId, statusIds }) {
|
||||
state.usersObject[userId].pinnedStatusIds = statusIds
|
||||
},
|
||||
addMuteId (state, muteId) {
|
||||
if (state.currentUser.muteIds.indexOf(muteId) === -1) {
|
||||
state.currentUser.muteIds.push(muteId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue