2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-14 19:25:27 +00:00

API forms return the JSON data to the onSuccess function

This commit is contained in:
Oliver
2021-08-10 14:33:08 +10:00
parent 67ccbf64b5
commit 6d0282519d
9 changed files with 107 additions and 31 deletions

View File

@ -79,7 +79,9 @@ class _CompanyDetailState extends RefreshableState<CompanyDetailWidget> {
"currency": {},
},
modelData: company.jsondata,
onSuccess: refresh
onSuccess: (data) async {
refresh();
}
);
}