fix(backups): сохранять запись при неполной очистке файлов

This commit is contained in:
Denozordec committed 2026-10-01 16:14:00 +07:00
1 parent 4c5604bf87
commit af86d2c3cd
10 files changed
+88 -19

No files matched your search

@@ -38,7 +38,7 @@ export function BackupDeleteDialog({
<AlertDialogTitle>Удалить бэкап?</AlertDialogTitle>
<AlertDialogDescription>
Файл <span className="font-mono text-foreground">{backup?.filename}</span> будет удалён
{backup?.storage === "s3" || backup?.storage === "both" ? " локально и из S3" : " с диска"}.
{backup?.storage === "s3" || backup?.storage === "both" ? " локально; объект S3 — через текущее подключение к хранилищу" : " с диска"}.
</AlertDialogDescription>
</AlertDialogHeader>
{error && <p role="alert" className="text-sm text-destructive break-words">{error}</p>}