Signed-off-by: Julius Härtl <jus@bitgrid.net>
.then((response) => {
if (Object.keys(response.data.ocs.data.users).length > 0) {
context.commit('appendUsers', response.data.ocs.data.users)
- return true
+ return Object.keys(response.data.ocs.data.users).length === limit
}
return false
})
.then((response) => {
if (Object.keys(response.data.ocs.data.users).length > 0) {
context.commit('appendUsers', response.data.ocs.data.users)
- return true
+ return Object.keys(response.data.ocs.data.users).length === limit
}
return false
})