From 736cd37caf93d89772f5b718e92d72013d0d9fc4 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 29 Sep 2023 13:01:36 +0200 Subject: [frontend] Add `discoverable` flag to settings panel (#2235) --- web/source/settings/user/profile.js | 70 ++++++++++++++++++++++++++++--------- 1 file changed, 54 insertions(+), 16 deletions(-) (limited to 'web/source/settings/user/profile.js') diff --git a/web/source/settings/user/profile.js b/web/source/settings/user/profile.js index 9bae41f63..dd600cafc 100644 --- a/web/source/settings/user/profile.js +++ b/web/source/settings/user/profile.js @@ -82,6 +82,7 @@ function UserProfileForm({ data: profile }) { customCSS: useTextInput("custom_css", { source: profile }), bot: useBoolInput("bot", { source: profile }), locked: useBoolInput("locked", { source: profile }), + discoverable: useBoolInput("discoverable", { source: profile}), enableRSS: useBoolInput("enable_rss", { source: profile }), fields: useFieldArrayInput("fields_attributes", { defaultValue: profile?.source?.fields, @@ -109,24 +110,36 @@ function UserProfileForm({ data: profile }) { />