summaryrefslogtreecommitdiff
path: root/web/source/settings/user/profile.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/source/settings/user/profile.tsx')
-rw-r--r--web/source/settings/user/profile.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/source/settings/user/profile.tsx b/web/source/settings/user/profile.tsx
index cd4b17227..c5fb67376 100644
--- a/web/source/settings/user/profile.tsx
+++ b/web/source/settings/user/profile.tsx
@@ -65,6 +65,7 @@ function UserProfileForm({ data: profile }) {
- file avatar
- file header
- bool enable_rss
+ - bool hide_collections
- string custom_css (if enabled)
- string theme
*/
@@ -98,6 +99,7 @@ function UserProfileForm({ data: profile }) {
locked: useBoolInput("locked", { source: profile }),
discoverable: useBoolInput("discoverable", { source: profile}),
enableRSS: useBoolInput("enable_rss", { source: profile }),
+ hideCollections: useBoolInput("hide_collections", { source: profile }),
fields: useFieldArrayInput("fields_attributes", {
defaultValue: profile?.source?.fields,
length: instanceConfig.maxPinnedFields
@@ -208,6 +210,10 @@ function UserProfileForm({ data: profile }) {
field={form.enableRSS}
label="Enable RSS feed of Public posts"
/>
+ <Checkbox
+ field={form.hideCollections}
+ label="Hide who you follow / are followed by"
+ />
<div className="form-section-docs">
<h3>Advanced</h3>