mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-04 20:11:48 +02:00
Shorten data directory description
This commit is contained in:
@@ -23,7 +23,7 @@ export function SyncToFilesystemSetting({
|
|||||||
const [isNonEmpty, setIsNonEmpty] = useState<string | null>(null);
|
const [isNonEmpty, setIsNonEmpty] = useState<string | null>(null);
|
||||||
return (
|
return (
|
||||||
<details open={forceOpen || !!value.filePath} className="w-full">
|
<details open={forceOpen || !!value.filePath} className="w-full">
|
||||||
<summary>Data directory {typeof value.initGit === 'boolean' && ' and Git'}</summary>
|
<summary>Data directory</summary>
|
||||||
<VStack className="my-2" space={3}>
|
<VStack className="my-2" space={3}>
|
||||||
{isNonEmpty ? (
|
{isNonEmpty ? (
|
||||||
<Banner color="notice" className="flex flex-col gap-1.5">
|
<Banner color="notice" className="flex flex-col gap-1.5">
|
||||||
@@ -43,12 +43,11 @@ export function SyncToFilesystemSetting({
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</Banner>
|
</Banner>
|
||||||
) : (
|
) : !value.filePath ? (
|
||||||
<Banner color="info">
|
<Banner color="info">
|
||||||
Sync workspace data to folder as plain text files, ideal for backup and Git
|
Sync data to a folder for backup and Git integration.
|
||||||
collaboration. Environments are excluded in order to keep your secrets private.
|
|
||||||
</Banner>
|
</Banner>
|
||||||
)}
|
) : null}
|
||||||
|
|
||||||
<SelectFile
|
<SelectFile
|
||||||
directory
|
directory
|
||||||
|
|||||||
Reference in New Issue
Block a user