mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
WebUI: enforce coding style
Actually, not all of them but some that can be enforced by eslint. The changes are made by eslint with minor manual tweaking. PR #17046.
This commit is contained in:
parent
5af96943e3
commit
dbfd6a2368
20 changed files with 155 additions and 98 deletions
|
@ -879,7 +879,7 @@ const initializeWindows = function() {
|
|||
hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS);
|
||||
break;
|
||||
default:
|
||||
hashes = trackerList.get(trackerHashInt).torrents
|
||||
hashes = trackerList.get(trackerHashInt).torrents;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -962,7 +962,8 @@ const initializeWindows = function() {
|
|||
const hashes = torrentsTable.selectedRowsIds();
|
||||
for (const hash of hashes) {
|
||||
const row = torrentsTable.rows.get(hash);
|
||||
if (!row) return
|
||||
if (!row)
|
||||
return;
|
||||
|
||||
const name = row.full_data.name;
|
||||
const url = new URI("api/v2/torrents/export");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue