Merge branch 'fix/following-status-on-usercard' into 'develop'

Fix follow-button on usercard not showing following status correctly

See merge request pleroma/pleroma-fe!479
This commit is contained in:
Shpuld Shpludson 2019-01-27 14:14:59 +00:00
commit 6e945ee14b
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ export const parseUser = (data) => {
output.default_scope = data.default_scope
output.hide_network = data.hide_network
output.background_image = data.background_image
// on mastoapi this info is contained in a "relationship"
output.following = data.following
}
output.created_at = new Date(data.created_at)