Web UI: Table infinite scroll

This commit is contained in:
Matthieu Hostache 2019-11-27 15:06:06 +01:00 committed by Traefiker Bot
parent bd75eddc8e
commit c4a38de007
15 changed files with 2965 additions and 1049 deletions

View file

@ -27,7 +27,11 @@ class Errors {
if (error.response.status === 401) {
// TODO - actions...
}
Errors.showError(body)
// Avoid to notify when reaching end of an infinite scroll
if (!error.response.data.message.includes('invalid request: page:')) {
Errors.showError(body)
}
return Promise.reject(body)
}