mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Always set Web UI row id as a string
This helps ensure consistent behavior when performing rowId comparisons against strings.
This commit is contained in:
@@ -617,7 +617,8 @@ window.qBittorrent.DynamicTable = (function() {
|
||||
onSelectedRowChanged: function() {},
|
||||
|
||||
updateRowData: function(data) {
|
||||
const rowId = data['rowId'];
|
||||
// ensure rowId is a string
|
||||
const rowId = `${data['rowId']}`;
|
||||
let row;
|
||||
|
||||
if (!this.rows.has(rowId)) {
|
||||
|
||||
Reference in New Issue
Block a user