mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-21 13:16:21 +00:00
Fixes
This commit is contained in:
1 parent
6c7b4ea7c1
commit
519c8436ef
2 files changed
+2
-2
No files matched your search
@@ -32,7 +32,7 @@ class _PartSupplierState extends RefreshableState<PartSupplierWidget> {
|
||||
List<InvenTreeSupplierPart> _supplierParts = [];
|
||||
|
||||
@override
|
||||
Future<void> request() async {
|
||||
Future<void> request(BuildContext context) async {
|
||||
// TODO - Request list of suppliers for the part
|
||||
await part.reload();
|
||||
_supplierParts = await part.getSupplierParts();
|
||||
|
||||
@@ -27,7 +27,7 @@ class _StarredPartState extends RefreshableState<StarredPartWidget> {
|
||||
String getAppBarTitle(BuildContext context) => L10().partsStarred;
|
||||
|
||||
@override
|
||||
Future<void> request() async {
|
||||
Future<void> request(BuildContext context) async {
|
||||
|
||||
final parts = await InvenTreePart().list(filters: {"starred": "true"});
|
||||
|
||||
|
||||
Reference in new issue
Block a user