Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into feature/custom-theme
This commit is contained in:
commit
e13c8c3fd2
12 changed files with 132 additions and 70 deletions
|
@ -57,6 +57,10 @@ const users = {
|
|||
state: defaultState,
|
||||
mutations,
|
||||
actions: {
|
||||
fetchUser (store, id) {
|
||||
store.rootState.api.backendInteractor.fetchUser({id})
|
||||
.then((user) => store.commit('addNewUsers', user))
|
||||
},
|
||||
addNewStatuses (store, { statuses }) {
|
||||
const users = map(statuses, 'user')
|
||||
const retweetedUsers = compact(map(statuses, 'retweeted_status.user'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue