mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Fixes
This commit is contained in:
parent
6c7b4ea7c1
commit
519c8436ef
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue