2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +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

@ -94,7 +94,9 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
"parent": {},
},
modelData: _loc.jsondata,
onSuccess: refresh
onSuccess: (data) async {
refresh();
}
);
}