mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
WebUI: fix adding torrent when using virtual tables
When using virtual tables we can't rely on fetching the values from the DOM. We should always fetch values directly from the file tree. PR #23263. Closes #23241.
This commit is contained in:
@@ -2478,6 +2478,10 @@ window.qBittorrent.DynamicTable ??= (() => {
|
||||
this.#addNodeToTable(child, depth + 1, node);
|
||||
}
|
||||
|
||||
getFileTreeArray() {
|
||||
return this.fileTree.toArray();
|
||||
}
|
||||
|
||||
getRoot() {
|
||||
return this.fileTree.getRoot();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user