Browse Source

WebUI: Fix category save path

PR #19008.
adaptive-webui-19844
Raymond Ha 1 year ago committed by GitHub
parent
commit
a35dbc6df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/scripts/download.js

2
src/webui/www/private/scripts/download.js

@ -125,7 +125,7 @@ window.qBittorrent.Download = (function() { @@ -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;
}
}

Loading…
Cancel
Save