mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Fix group filter on the download page
This commit is contained in:
parent
ca8e9a164e
commit
21233df754
@ -241,7 +241,7 @@ const buildTable = () => {
|
|||||||
if (v === 'All') return;
|
if (v === 'All') return;
|
||||||
if (k === 'group') {
|
if (k === 'group') {
|
||||||
chapters = chapters.filter(c => {
|
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 unescaped_groups.indexOf(v) >= 0;
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user