mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 12:06:24 +00:00
Fixed "await" for refreshable states
- Progress indicator stays in place until calls are completed
This commit is contained in:
parent
0cfac69d16
commit
12f4a4fa38
4 changed files with 18 additions and 21 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue