Client: InfoPanel: Groups: Fix wrong filter page

This commit is contained in:
Aleksandr Lushkin 2024-08-12 13:04:37 +02:00
parent 9ba016ba35
commit b9c1b95234

View File

@ -76,7 +76,7 @@ const Groups = ({
const pageCount = 100;
const filter = AccountsFilter.getDefault();
filter.group = groupId;
filter.page = startIndex / pageCount;
filter.page = Math.ceil(startIndex / pageCount);
filter.pageCount = pageCount;
const res = await api.people.getUserList(