Merge branch 'add-admin-and-moderator-fields-to-user-card-view' into 'develop'

Add admin and moderator indicators to the user profile

See merge request pleroma/pleroma-fe!519
This commit is contained in:
HJ 2019-02-07 22:45:08 +00:00
commit 62b3b9b8d4
8 changed files with 36 additions and 3 deletions

View file

@ -130,7 +130,7 @@ const updateBanner = ({credentials, params}) => {
// description
const updateProfile = ({credentials, params}) => {
// Always include these fields, because they might be empty or false
const fields = ['description', 'locked', 'no_rich_text', 'hide_follows', 'hide_followers']
const fields = ['description', 'locked', 'no_rich_text', 'hide_follows', 'hide_followers', 'show_role']
let url = PROFILE_UPDATE_URL
const form = new FormData()