Skip to content

Commit 759e0e5

Browse files
authored
Merge pull request #2991 from Zmegolaz/fix_tracklabels_size
Don't count size of torrents in a tracker label multiple times
2 parents 6f5616c + 3f97213 commit 759e0e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/tracklabels/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugin.loadLang();
1212
const catlist = theWebUI.categoryList;
1313
const ptrackersPanelArgs = [
1414
[['ptrackers_all', {text: theUILang.All, icon: 'all'}]],
15-
[(hash) => theWebUI.torrentTrackerIds.get(hash) ?? []]
15+
[(hash) => [...new Set(theWebUI.torrentTrackerIds.get(hash) ?? [])]]
1616
];
1717

1818
const plabelEntries = catlist.refreshPanel.plabel.bind(catlist);

0 commit comments

Comments
 (0)