mirror of
https://github.com/inventree/inventree-app.git
synced 2025-07-30 17:21:28 +00:00
API forms return the JSON data to the onSuccess function
This commit is contained in:
@@ -126,7 +126,9 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
||||
"virtual": {},
|
||||
},
|
||||
modelData: part.jsondata,
|
||||
onSuccess: refresh,
|
||||
onSuccess: (data) async {
|
||||
refresh();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user