diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 8a57d27bb..9ef160e72 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -50,6 +50,9 @@ const EmbedConfigSetup = lazy( () => import("@/pages/GeneralSettings/EmbedConfigs") ); const EmbedChats = lazy(() => import("@/pages/GeneralSettings/EmbedChats")); +const PrivacyAndData = lazy( + () => import("@/pages/GeneralSettings/PrivacyAndData") +); export default function App() { return ( @@ -110,6 +113,10 @@ export default function App() { path="/settings/security" element={} /> + } + /> } diff --git a/frontend/src/components/SettingsSidebar/index.jsx b/frontend/src/components/SettingsSidebar/index.jsx index a7aca7ffe..66f881ff6 100644 --- a/frontend/src/components/SettingsSidebar/index.jsx +++ b/frontend/src/components/SettingsSidebar/index.jsx @@ -20,6 +20,7 @@ import { CodeBlock, Barcode, ClosedCaptioning, + EyeSlash, } from "@phosphor-icons/react"; import useUser from "@/hooks/useUser"; import { USER_BACKGROUND_COLOR } from "@/utils/constants"; @@ -349,5 +350,13 @@ const SidebarOptions = ({ user = null }) => ( flex={true} allowedRole={["admin"]} /> +