mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
feat: snapshot files list frontend
This commit is contained in:
@@ -135,7 +135,7 @@ export const ScheduleSummary = (props: Props) => {
|
||||
</CardContent>
|
||||
) : (
|
||||
<>
|
||||
<SnapshotsTable snapshots={snapshots.snapshots} />
|
||||
<SnapshotsTable snapshots={snapshots.snapshots} repositoryName={repository.name} />
|
||||
<div className="px-4 py-2 text-sm text-muted-foreground bg-card-header flex justify-between border-t">
|
||||
<span>{`Showing ${snapshots.snapshots.length} of ${snapshots.snapshots.length}`}</span>
|
||||
<span>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user