feat: snapshot files list frontend

This commit is contained in:
Nicolas Meienberger
2025-10-30 19:01:49 +01:00
parent b80a187108
commit 5846c1ff86
9 changed files with 272 additions and 13 deletions

View File

@@ -26,7 +26,6 @@ export const FilesTabContent = ({ volume }: Props) => {
const [loadingFolders, setLoadingFolders] = useState<Set<string>>(new Set());
const [allFiles, setAllFiles] = useState<Map<string, FileEntry>>(new Map());
// Fetch root level files
const { data, isLoading, error } = useQuery({
...listFilesOptions({ path: { name: volume.name } }),
enabled: volume.status === "mounted",