mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 02:35:27 +00:00
Fixed "await" for refreshable states
- Progress indicator stays in place until calls are completed
This commit is contained in:
@ -60,7 +60,7 @@ class _CompanyListState extends RefreshableState<CompanyListWidget> {
|
||||
@override
|
||||
Future<void> request(BuildContext context) async {
|
||||
|
||||
InvenTreeCompany().list(context, filters: _filters).then((var companies) {
|
||||
await InvenTreeCompany().list(context, filters: _filters).then((var companies) {
|
||||
|
||||
_companies.clear();
|
||||
|
||||
|
Reference in New Issue
Block a user