diff --git a/app/client/components/snapshots-table.tsx b/app/client/components/snapshots-table.tsx index 275a8a79..d443a4dc 100644 --- a/app/client/components/snapshots-table.tsx +++ b/app/client/components/snapshots-table.tsx @@ -1,6 +1,6 @@ import { useState } from "react"; import { useMutation, useQueryClient } from "@tanstack/react-query"; -import { Calendar, Clock, Database, HardDrive, Tag, Trash2, X } from "lucide-react"; +import { Calendar, Clock, Database, FolderOpen, HardDrive, Monitor, Tag, Trash2, X } from "lucide-react"; import { toast } from "sonner"; import { ByteSize } from "~/client/components/bytes-size"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "~/client/components/ui/table"; @@ -145,6 +145,7 @@ export const SnapshotsTable = ({ snapshots, repositoryId, backups, listSnapshots Snapshot ID Schedule + Source Date & Time Size Duration @@ -198,6 +199,22 @@ export const SnapshotsTable = ({ snapshots, repositoryId, backups, listSnapshots + +
+ {snapshot.hostname && ( +
+ + {snapshot.hostname ?? "-"} +
+ )} + {snapshot.paths.map((path) => ( +
+ + {path} +
+ ))} +
+
diff --git a/app/client/modules/repositories/tabs/snapshots.tsx b/app/client/modules/repositories/tabs/snapshots.tsx index d039c03c..a409466a 100644 --- a/app/client/modules/repositories/tabs/snapshots.tsx +++ b/app/client/modules/repositories/tabs/snapshots.tsx @@ -58,6 +58,7 @@ export const RepositorySnapshotsTabContent = ({ repository, initialSnapshots, in return ( snapshot.short_id.toLowerCase().includes(searchLower) || snapshot.paths.some((path) => path.toLowerCase().includes(searchLower)) || + snapshot.hostname?.toLowerCase().includes(searchLower) || backup?.name?.toLowerCase().includes(searchLower) || backup?.volume?.name?.toLowerCase().includes(searchLower) ); @@ -161,7 +162,7 @@ export const RepositorySnapshotsTabContent = ({ repository, initialSnapshots, in - +

No snapshots match your search.