diff --git a/app/client/modules/backups/components/schedule-summary.tsx b/app/client/modules/backups/components/schedule-summary.tsx index 58cb3ad6..f3353fc7 100644 --- a/app/client/modules/backups/components/schedule-summary.tsx +++ b/app/client/modules/backups/components/schedule-summary.tsx @@ -21,6 +21,7 @@ import { handleRepositoryError } from "~/client/lib/errors"; import { formatShortDateTime, formatTimeAgo } from "~/client/lib/datetime"; import { Link } from "@tanstack/react-router"; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "~/client/components/ui/collapsible"; +import { cn } from "~/client/lib/utils"; type Props = { schedule: BackupSchedule; @@ -206,16 +207,32 @@ export const ScheduleSummary = (props: Props) => { {backupDetails && (schedule.lastBackupStatus === "warning" || schedule.lastBackupStatus === "error") && (
- - + + {schedule.lastBackupStatus === "warning" ? "Warning details" : "Error details"} - +

{backupDetails}