diff --git a/apps/client/app/components/snapshots-table.tsx b/apps/client/app/components/snapshots-table.tsx index 65331a8..e33a199 100644 --- a/apps/client/app/components/snapshots-table.tsx +++ b/apps/client/app/components/snapshots-table.tsx @@ -29,7 +29,7 @@ export const SnapshotsTable = ({ snapshots, repositoryName }: Props) => { Date & Time Size Duration - Volume + Paths @@ -70,29 +70,22 @@ export const SnapshotsTable = ({ snapshots, repositoryName }: Props) => { - - - {snapshot.paths[0].split("/").filter(Boolean).at(-2) || "/"} - - - - - +{snapshot.paths.length - 1} - - - - - {snapshot.paths.slice(1).map((path) => ( - - {path} - - ))} - - - - + + + + {snapshot.paths.length} {snapshot.paths.length === 1 ? "path" : "paths"} + + + + + {snapshot.paths.map((path) => ( + + {path} + + ))} + + + diff --git a/apps/client/app/modules/backups/components/schedule-summary.tsx b/apps/client/app/modules/backups/components/schedule-summary.tsx index 45b24f4..4a0731a 100644 --- a/apps/client/app/modules/backups/components/schedule-summary.tsx +++ b/apps/client/app/modules/backups/components/schedule-summary.tsx @@ -56,32 +56,41 @@ export const ScheduleSummary = (props: Props) => { return ( - - - Backup schedule - - Automated backup configuration for volume{" "} - {schedule.volume.name} - + + + + Backup schedule + + Automated backup configuration for volume + {schedule.volume.name} + + + + + - - - + + - Backup Now + Backup Now - setIsEditMode(true)}> + setIsEditMode(true)} className="w-full sm:w-auto"> - Edit schedule + Edit schedule setShowDeleteConfirm(true)} - className="text-destructive hover:text-destructive" + className="text-destructive hover:text-destructive w-full sm:w-auto" > - Delete + Delete