Web UI: Table infinite scroll
This commit is contained in:
parent
bd75eddc8e
commit
c4a38de007
15 changed files with 2965 additions and 1049 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue