diff options
author | 2023-02-20 17:00:44 +0100 | |
---|---|---|
committer | 2023-02-20 17:00:44 +0100 | |
commit | e8a04b7ce1fdb31febca7894229247207369bc85 (patch) | |
tree | 6650cc05351f39dc25b32d07858e93f5d17561f0 /web/source/settings/user/profile.js | |
parent | [feature] About page (#1495) (diff) | |
download | gotosocial-e8a04b7ce1fdb31febca7894229247207369bc85.tar.xz |
[bugfix] Fix account roles (#1542)
* Change account role from string to object
* Update tests
* small fixes + swagger docs
---------
Co-authored-by: zowhoey <11893985+zowhoey@users.noreply.github.com>
Diffstat (limited to 'web/source/settings/user/profile.js')
-rw-r--r-- | web/source/settings/user/profile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/source/settings/user/profile.js b/web/source/settings/user/profile.js index b2d2d25b3..c48ee0933 100644 --- a/web/source/settings/user/profile.js +++ b/web/source/settings/user/profile.js @@ -90,7 +90,7 @@ function UserProfileForm({ data: profile }) { header={form.header.previewValue ?? profile.header} display_name={form.displayName.value ?? profile.username} username={profile.username} - role={profile.role} + role={profile.role.name} /> <div className="files"> <div> |