mirror of
https://github.com/inventree/inventree-app.git
synced 2025-05-05 16:58:55 +00:00
Fixes
This commit is contained in:
parent
6c7b4ea7c1
commit
519c8436ef
@ -32,7 +32,7 @@ class _PartSupplierState extends RefreshableState<PartSupplierWidget> {
|
|||||||
List<InvenTreeSupplierPart> _supplierParts = [];
|
List<InvenTreeSupplierPart> _supplierParts = [];
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> request() async {
|
Future<void> request(BuildContext context) async {
|
||||||
// TODO - Request list of suppliers for the part
|
// TODO - Request list of suppliers for the part
|
||||||
await part.reload();
|
await part.reload();
|
||||||
_supplierParts = await part.getSupplierParts();
|
_supplierParts = await part.getSupplierParts();
|
||||||
|
@ -27,7 +27,7 @@ class _StarredPartState extends RefreshableState<StarredPartWidget> {
|
|||||||
String getAppBarTitle(BuildContext context) => L10().partsStarred;
|
String getAppBarTitle(BuildContext context) => L10().partsStarred;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> request() async {
|
Future<void> request(BuildContext context) async {
|
||||||
|
|
||||||
final parts = await InvenTreePart().list(filters: {"starred": "true"});
|
final parts = await InvenTreePart().list(filters: {"starred": "true"});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user