mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Merge pull request #25475 from nextcloud/backport/25443/stable20
[stable20] Make user list pagination more tolerant
This commit is contained in:
commit
efe9ef223d
3 changed files with 5 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -220,7 +220,7 @@ const actions = {
|
|||
.then((response) => {
|
||||
if (Object.keys(response.data.ocs.data.users).length > 0) {
|
||||
context.commit('appendUsers', response.data.ocs.data.users)
|
||||
return Object.keys(response.data.ocs.data.users).length === limit
|
||||
return Object.keys(response.data.ocs.data.users).length >= limit
|
||||
}
|
||||
return false
|
||||
})
|
||||
|
|
@ -237,7 +237,7 @@ const actions = {
|
|||
.then((response) => {
|
||||
if (Object.keys(response.data.ocs.data.users).length > 0) {
|
||||
context.commit('appendUsers', response.data.ocs.data.users)
|
||||
return Object.keys(response.data.ocs.data.users).length === limit
|
||||
return Object.keys(response.data.ocs.data.users).length >= limit
|
||||
}
|
||||
return false
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue