mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 18:25:26 +00:00
Pass URL through to the showServeError method
- Can decide, based on the URL, if we want to show an error
This commit is contained in:
@ -1288,7 +1288,7 @@ class _APIFormWidgetState extends State<APIFormWidget> {
|
||||
final response = await _submit(data);
|
||||
|
||||
if (!response.isValid()) {
|
||||
showServerError(L10().serverError, L10().responseInvalid);
|
||||
showServerError(url, L10().serverError, L10().responseInvalid);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user