diff --git a/webui/src/components/SnapshotBrowser.tsx b/webui/src/components/SnapshotBrowser.tsx index 8a6e5167..258d960f 100644 --- a/webui/src/components/SnapshotBrowser.tsx +++ b/webui/src/components/SnapshotBrowser.tsx @@ -101,8 +101,13 @@ export const SnapshotBrowser = ({ return; } + let path = key as string; + if (!path.endsWith("/")) { + path += "/"; + } + const resp = await backrestService.listSnapshotFiles({ - path: (key + "/") as string, + path, repoId, snapshotId, });