1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

WebUI: Fix category save path

PR #19008.
This commit is contained in:
Raymond Ha 2023-05-26 01:52:37 -07:00 committed by GitHub
parent 3fb4e4d293
commit a35dbc6df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ window.qBittorrent.Download = (function() {
const category = categories[categoryName];
let savePath = defaultSavePath;
if (category !== undefined)
savePath = (category['savePath'] !== "") ? category['savePath'] : (defaultSavePath + categoryName);
savePath = (category['savePath'] !== "") ? category['savePath'] : `${defaultSavePath}/${categoryName}`;
$('savepath').value = savePath;
}
}