fix: use template instead of string concat, as suggested by linters.

This commit is contained in:
Stiliyan Tonev (Bark) 2025-03-31 11:44:26 +03:00
commit 8627058ff7

View file

@ -1563,7 +1563,7 @@ window.qBittorrent.DynamicTable ??= (() => {
td.title = "QBT_TR(N/A)QBT_TR[CONTEXT=TrackerListWidget]";
return;
}
const value = window.qBittorrent.Misc.toFixedPointString(this.getRowValue(row), 2) + "%";
const value = `${window.qBittorrent.Misc.toFixedPointString(this.getRowValue(row), 2) }%`;
td.textContent = value;
td.title = value;
};