mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue