Skip to content

Commit

Permalink
Fix group filter on the download page
Browse files Browse the repository at this point in the history
hkalexling committed Feb 1, 2021
1 parent ca8e9a1 commit 21233df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/download.js
Original file line number Diff line number Diff line change
@@ -241,7 +241,7 @@ const buildTable = () => {
if (v === 'All') return;
if (k === 'group') {
chapters = chapters.filter(c => {
unescaped_groups = Object.entries(c.groups).map(([g, id]) => unescapeHTML(g));
const unescaped_groups = Object.entries(c.groups).map(([g, id]) => unescapeHTML(g));
return unescaped_groups.indexOf(v) >= 0;
});
return;

0 comments on commit 21233df

Please sign in to comment.