From 0df2a02bbbd49245bc722d2fe8dffe2ab9300bee Mon Sep 17 00:00:00 2001 From: Mark Yu Date: Sun, 13 Jul 2025 16:31:02 -0400 Subject: [PATCH] add share_action_limit in param and make window bigger --- src/webui/www/private/scripts/mocha-init.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webui/www/private/scripts/mocha-init.js b/src/webui/www/private/scripts/mocha-init.js index ec9edffe7..cfff8af61 100644 --- a/src/webui/www/private/scripts/mocha-init.js +++ b/src/webui/www/private/scripts/mocha-init.js @@ -382,7 +382,7 @@ const initializeWindows = () => { const hash = hashes[i]; const row = torrentsTable.getRow(hash).full_data; const origValues = `${row.ratio_limit}|${row.seeding_time_limit}|${row.inactive_seeding_time_limit}|${row.max_ratio}` - + `|${row.max_seeding_time}|${row.max_inactive_seeding_time}`; + + `|${row.max_seeding_time}|${row.max_inactive_seeding_time}|${row.share_action_limit}`; // initialize value if (shareRatio === null) @@ -410,8 +410,8 @@ const initializeWindows = () => { maximizable: false, paddingVertical: 0, paddingHorizontal: 0, - width: window.qBittorrent.Dialog.limitWidthToViewport(424), - height: 220 + width: window.qBittorrent.Dialog.limitWidthToViewport(500), + height: 250 }); };