diff --git a/apps/web/app/(dashboard)/settings/page.tsx b/apps/web/app/(dashboard)/settings/page.tsx index af2a7ea1..ca31a753 100644 --- a/apps/web/app/(dashboard)/settings/page.tsx +++ b/apps/web/app/(dashboard)/settings/page.tsx @@ -95,6 +95,7 @@ export default function SettingsPage() { const [description, setDescription] = useState( workspace?.description ?? "", ); + const [context, setContext] = useState(workspace?.context ?? ""); const [profileName, setProfileName] = useState(user?.name ?? ""); const [avatarUrl, setAvatarUrl] = useState(user?.avatar_url ?? ""); const [saving, setSaving] = useState(false); @@ -115,6 +116,7 @@ export default function SettingsPage() { useEffect(() => { setName(workspace?.name ?? ""); setDescription(workspace?.description ?? ""); + setContext(workspace?.context ?? ""); }, [workspace]); useEffect(() => { @@ -130,6 +132,7 @@ export default function SettingsPage() { const updated = await api.updateWorkspace(workspace.id, { name, description: description || undefined, + context: context || undefined, }); updateWorkspace(updated); setSaved(true); @@ -330,6 +333,19 @@ export default function SettingsPage() { placeholder="What does this workspace focus on?" /> +
+ +