mirror of
https://github.com/inventree/inventree-app.git
synced 2026-09-09 03:10:14 +00:00
Top level fix (#874)
* Fix top-level items * Show pagination error messages * Update release notes * Check API version
This commit is contained in:
@@ -752,6 +752,12 @@ class InvenTreeModel {
|
||||
return null;
|
||||
}
|
||||
|
||||
// A client error (e.g. 400 Bad Request) was returned - notify the user
|
||||
if (response.clientError()) {
|
||||
showStatusCodeError(URL, response.statusCode, details: response.data);
|
||||
return null;
|
||||
}
|
||||
|
||||
// Construct the response
|
||||
InvenTreePageResponse page = InvenTreePageResponse();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user