Skip to content

Commit

Permalink
fix: snapshot browser on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed May 25, 2024
1 parent 8a7543c commit 19ed611
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webui/src/components/SnapshotBrowser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit 19ed611

Please sign in to comment.