fix(web): people count showing incorrectly

pull/24434/head
Yaros 2025-12-07 14:41:46 +07:00
parent 1e1cf0d1fe
commit a43f02233e
1 changed files with 1 additions and 1 deletions

@ -231,7 +231,7 @@
let people = $derived(data.people.people);
let visiblePeople = $derived(people.filter((people) => !people.isHidden));
let countVisiblePeople = $derived(searchName ? searchedPeopleLocal.length : data.people.total - data.people.hidden);
let countVisiblePeople = $derived(searchName ? searchedPeopleLocal.length : visiblePeople.length);
let showPeople = $derived(searchName ? searchedPeopleLocal : visiblePeople);
const onNameChangeInputFocus = (person: PersonResponseDto) => {