mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06: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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user