Browse Source

Simplify initialization statement

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
4dbf6af733
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 8
      src/webui/www/private/scripts/dynamicTable.js

8
src/webui/www/private/scripts/dynamicTable.js

@ -621,16 +621,16 @@ window.qBittorrent.DynamicTable = (function() { @@ -621,16 +621,16 @@ window.qBittorrent.DynamicTable = (function() {
let row;
if (!this.rows.has(rowId)) {
row = {};
row = {
'full_data': {},
'rowId': rowId
};
this.rows.set(rowId, row);
row['full_data'] = {};
row['rowId'] = rowId;
}
else
row = this.rows.get(rowId);
row['data'] = data;
for (const x in data)
row['full_data'][x] = data[x];
},

Loading…
Cancel
Save