Merge pull request 'fix user note' (#3510) from postreleasefix into develop
Reviewed-on: https://git.pleroma.social/pleroma/pleroma-fe/pulls/3510
This commit is contained in:
commit
0115ba6ed2
1 changed files with 2 additions and 1 deletions
|
|
@ -47,6 +47,7 @@ import {
|
||||||
muteUser as apiMuteUser,
|
muteUser as apiMuteUser,
|
||||||
unblockUser as apiUnblockUser,
|
unblockUser as apiUnblockUser,
|
||||||
unmuteUser as apiUnmuteUser,
|
unmuteUser as apiUnmuteUser,
|
||||||
|
editUserNote as apiEditUserNote,
|
||||||
fetchBlocks,
|
fetchBlocks,
|
||||||
fetchDomainMutes,
|
fetchDomainMutes,
|
||||||
fetchMutes,
|
fetchMutes,
|
||||||
|
|
@ -123,7 +124,7 @@ const removeUserFromFollowers = (store, id) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const editUserNote = (store, { id, comment }) => {
|
const editUserNote = (store, { id, comment }) => {
|
||||||
return editUserNote({ id, comment }).then((relationship) =>
|
return apiEditUserNote({ id, comment }).then((relationship) =>
|
||||||
store.commit('updateUserRelationship', [relationship]),
|
store.commit('updateUserRelationship', [relationship]),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue