mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Code cleanup
This commit is contained in:
parent
9b42c88b53
commit
68859b3d2e
3 changed files with 9 additions and 4 deletions
|
|
@ -529,7 +529,7 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
expectedStatusCode: 200
|
||||
);
|
||||
|
||||
return response != null;
|
||||
return response.isValid() && response.statusCode == 200;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue