mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
fix: fixing mixing of === and && regarding linter
This commit is contained in:
parent
f4b0c41c65
commit
26b75fcebd
1 changed files with 2 additions and 2 deletions
|
@ -1582,9 +1582,9 @@ window.qBittorrent.DynamicTable ??= (() => {
|
|||
const hasMetadata1 = this.getRowValue(row1, 0);
|
||||
const hasMetadata2 = this.getRowValue(row2, 0);
|
||||
|
||||
if (hasMetadata1 === true && hasMetadata2 === false)
|
||||
if ((hasMetadata1 === true) && (hasMetadata2 === false))
|
||||
return -1;
|
||||
if (hasMetadata1 === false && hasMetadata2 === true)
|
||||
if ((hasMetadata1 === false) && (hasMetadata2 === true))
|
||||
return 1;
|
||||
|
||||
const size1 = this.getRowValue(row1, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue