WebUI: Fix bug where the 'Tracker editing' dialog displays incorrect data

This commit is contained in:
skomerko 2025-02-22 15:10:55 +01:00
commit b8198ceb80

View file

@ -198,7 +198,7 @@ window.qBittorrent.PropTrackers ??= (() => {
if (current_hash.length === 0)
return;
const trackerUrl = encodeURIComponent(element.childNodes[1].textContent);
const trackerUrl = encodeURIComponent(torrentTrackersTable.selectedRowsIds()[0]);
new MochaUI.Window({
id: "trackersPage",
icon: "images/qbittorrent-tray.svg",