2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-05 08:48:55 +00:00
This commit is contained in:
Oliver Walters 2022-03-26 19:34:22 +11:00
parent 6c7b4ea7c1
commit 519c8436ef
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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"});