1
0
Fork 0
mirror of https://git.youjo.love/youjo/youjo-fe.git synced 2025-03-29 21:01:46 +01:00

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

Fix follow-button on usercard not showing following status correctly

See merge request 
This commit is contained in:
Shpuld Shpludson 2019-01-27 14:14:59 +00:00
commit 6e945ee14b

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)