summaryrefslogtreecommitdiff
path: root/web/source/settings/user/profile.js
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2023-05-13 12:17:22 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-13 12:17:22 +0200
commit89dcbd5a201f830812e49ed5d8e37c00d16b838b (patch)
treeee3323585c35db52104d9c5f60670e2bf1ffa028 /web/source/settings/user/profile.js
parent[bugfix] Downstep otel to fix freebsd compile issue (#1773) (diff)
downloadgotosocial-89dcbd5a201f830812e49ed5d8e37c00d16b838b.tar.xz
[frontend] Basic user moderation actions (#1728)
* remove info banner * update swagger definition for AccountAction * basic user view, suspend action * clean up suspended user display * basic user searching * rename User -> Account for clarity * refactor error boundary component to give better info * appease the linter
Diffstat (limited to 'web/source/settings/user/profile.js')
-rw-r--r--web/source/settings/user/profile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/source/settings/user/profile.js b/web/source/settings/user/profile.js
index ae2da0003..4b39d1822 100644
--- a/web/source/settings/user/profile.js
+++ b/web/source/settings/user/profile.js
@@ -91,7 +91,7 @@ function UserProfileForm({ data: profile }) {
header={form.header.previewValue ?? profile.header}
display_name={form.displayName.value ?? profile.username}
username={profile.username}
- role={profile.role.name}
+ role={profile.role}
/>
<div className="files">
<div>