From 299469728e824789df7a0d538dfca8258c859ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Tr=C3=A1vn=C3=ADk?= Date: Mon, 22 Dec 2025 14:16:57 +0100 Subject: [PATCH] feat: add volume column to snapshots table and display backup volume names --- app/client/components/snapshots-table.tsx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/app/client/components/snapshots-table.tsx b/app/client/components/snapshots-table.tsx index 5911a9d8..7e0bee5d 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, FolderTree, HardDrive, Trash2 } from "lucide-react"; +import { Calendar, Clock, Database, FolderTree, HardDrive, Server, Trash2 } from "lucide-react"; import { Link, useNavigate } from "react-router"; import { toast } from "sonner"; import { ByteSize } from "~/client/components/bytes-size"; @@ -79,6 +79,7 @@ export const SnapshotsTable = ({ snapshots, repositoryName, backups }: Props) => Date & Time Size Duration + Volume Paths Actions @@ -135,6 +136,22 @@ export const SnapshotsTable = ({ snapshots, repositoryName, backups }: Props) => {formatDuration(snapshot.duration / 1000)} + +
+ + {backup ? ( + e.stopPropagation()} + className="text-sm hover:underline" + > + {backup.volume.name} + + ) : ( + - + )} +
+