diff --git a/app/client/components/snapshots-table.tsx b/app/client/components/snapshots-table.tsx index f71737f6..97a934b6 100644 --- a/app/client/components/snapshots-table.tsx +++ b/app/client/components/snapshots-table.tsx @@ -1,11 +1,10 @@ import { useState } from "react"; import { useMutation, useQueryClient } from "@tanstack/react-query"; -import { Calendar, Clock, Database, FolderTree, HardDrive, Trash2 } from "lucide-react"; +import { Calendar, Clock, Database, HardDrive, Server, Trash2 } from "lucide-react"; import { Link, useNavigate } from "react-router"; import { toast } from "sonner"; import { ByteSize } from "~/client/components/bytes-size"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "~/client/components/ui/table"; -import { Tooltip, TooltipContent, TooltipTrigger } from "~/client/components/ui/tooltip"; import { Button } from "~/client/components/ui/button"; import { AlertDialog, @@ -21,6 +20,7 @@ import { formatDuration } from "~/utils/utils"; import { deleteSnapshotMutation } from "~/client/api-client/@tanstack/react-query.gen"; import { parseError } from "~/client/lib/errors"; import type { BackupSchedule, Snapshot } from "../lib/types"; +import { cn } from "../lib/utils"; type Props = { snapshots: Snapshot[]; @@ -79,7 +79,7 @@ export const SnapshotsTable = ({ snapshots, repositoryId, backups }: Props) => { Date & Time Size Duration - Paths + Volume Actions @@ -108,7 +108,7 @@ export const SnapshotsTable = ({ snapshots, repositoryId, backups }: Props) => { onClick={(e) => e.stopPropagation()} className="hover:underline" > - {backup ? backup.id : "-"} + {backup ? backup.name : "-"}