diff options
| author | taehoon <th.dev91@gmail.com> | 2019-04-24 13:56:53 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-05-15 12:04:25 -0400 |
| commit | cd0a7afa06cafc93510286d35a60e9e40ead36bf (patch) | |
| tree | 91303c82172bab88bd9d5a91a0fb12ce4f05881a /src/modules/users.js | |
| parent | 9e22d6212acaeba271d847b565d066ae92165d09 (diff) | |
remove pinned timeline, instead, use simple entity of user object
Diffstat (limited to 'src/modules/users.js')
| -rw-r--r-- | src/modules/users.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/users.js b/src/modules/users.js index adcab233..def2b38c 100644 --- a/src/modules/users.js +++ b/src/modules/users.js @@ -160,6 +160,9 @@ 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) |
