Check that char.list has any filters before applying hidden block.

This commit is contained in:
Cohee
2024-04-28 21:33:37 +03:00
parent 73cf58826f
commit 87219f897e
2 changed files with 31 additions and 1 deletions

View File

@ -1363,7 +1363,7 @@ async function printCharacters(fullRefresh = false) {
}
const hidden = (characters.length + groups.length) - displayCount;
if (hidden > 0) {
if (hidden > 0 && entitiesFilter.hasAnyFilter()) {
$(listId).append(getHiddenBlock(hidden));
}