Don't expand the directory setting when creating workspace

This commit is contained in:
Gregory Schier
2025-02-21 13:18:47 -08:00
parent 84ecbe0cd6
commit e420a0a45e

View File

@@ -20,7 +20,7 @@ export function SyncToFilesystemSetting({
}: SyncToFilesystemSettingProps) {
const [error, setError] = useState<string | null>(null);
return (
<details open={forceOpen || value != null} className="w-full">
<details open={forceOpen || !!value.filePath} className="w-full">
<summary>Data directory {typeof value.initGit === 'boolean' && ' and Git'}</summary>
<VStack className="my-2" space={3}>
<Banner color="info">