Allow to configure visibility for admin and moderator badges

This commit is contained in:
eugenijm 2019-02-04 17:03:35 +03:00
parent c714eb2600
commit 648f635429
8 changed files with 35 additions and 6 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()