fix: error details visible in backup page

This commit is contained in:
Nicolas Meienberger
2025-11-07 19:19:02 +01:00
parent 8f1e24a034
commit 885ae02b18
2 changed files with 7 additions and 6 deletions

View File

@@ -98,12 +98,6 @@ export default function Backups({ loaderData }: Route.ComponentProps) {
{schedule.nextBackupAt ? new Date(schedule.nextBackupAt).toLocaleDateString() : "N/A"}
</span>
</div>
{schedule.lastBackupError && (
<div className="flex items-start justify-between text-sm gap-2">
<span className="text-muted-foreground">Error</span>
<span className="text-xs text-red-600 text-right line-clamp-2">{schedule.lastBackupError}</span>
</div>
)}
</div>
</CardContent>
</Card>