mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00: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:
parent
d3497148c5
commit
8b94642ab1
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user