mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 21:21:24 -07:00
WebUI: iterate over own properties only
This commit is contained in:
parent
b07afa3ea9
commit
64dfb7e122
9 changed files with 38 additions and 5 deletions
|
@ -672,8 +672,11 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
row = this.rows.get(rowId);
|
||||
|
||||
row["data"] = data;
|
||||
for (const x in data)
|
||||
for (const x in data) {
|
||||
if (!Object.hasOwn(data, x))
|
||||
continue;
|
||||
row["full_data"][x] = data[x];
|
||||
}
|
||||
},
|
||||
|
||||
getFilteredAndSortedRows: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue