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

@@ -124,6 +124,13 @@ export const ScheduleSummary = (props: Props) => {
{!schedule.lastBackupStatus && "—"}
</p>
</div>
{schedule.lastBackupError && (
<div className="md:col-span-2 lg:col-span-4">
<p className="text-xs uppercase text-muted-foreground">Error Details</p>
<p className="font-mono text-sm text-red-600 whitespace-pre-wrap break-all">{schedule.lastBackupError}</p>
</div>
)}
</CardContent>
</Card>