WebUI: fix opening "Add torrent" window with double click on RSS feed item

Restores the ability to open the "Add torrent" dialogue, when double clicking on an RSS feed item.
Broke in: 02892d1250 as part of #21645.

PR #23413.
This commit is contained in:
dyseg
2025-10-26 15:12:36 +01:00
committed by GitHub
parent f7fbd61db0
commit e5026e4b19

View File

@@ -3245,7 +3245,7 @@ window.qBittorrent.DynamicTable ??= (() => {
if (!tr) if (!tr)
return; return;
const { name, torrentURL } = this._this.rows.get(this.rowId).full_data; const { name, torrentURL } = this.getRow(tr.rowId).full_data;
qBittorrent.Client.createAddTorrentWindow(name, torrentURL); qBittorrent.Client.createAddTorrentWindow(name, torrentURL);
}); });
} }