mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
WebUI: iterate over own properties only
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user