Fix: files in subfolders not downloading properly

This commit is contained in:
alongw 2024-01-27 19:43:23 +08:00
parent 9d7ed246b9
commit 3ef56bd4d8

View File

@ -387,7 +387,7 @@ export const useFileManager = (instanceId?: string, daemonId?: string) => {
try {
await getDownloadCfg({
params: {
file_name: fileName,
file_name: breadcrumbs[breadcrumbs.length - 1].path + fileName,
daemonId: daemonId!,
uuid: instanceId!
}