mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-17 04:35: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:
@ -270,6 +270,7 @@ class InvenTreeModel {
|
||||
);
|
||||
|
||||
showServerError(
|
||||
url,
|
||||
L10().serverError,
|
||||
L10().errorDelete,
|
||||
);
|
||||
@ -299,6 +300,7 @@ class InvenTreeModel {
|
||||
);
|
||||
|
||||
showServerError(
|
||||
url,
|
||||
L10().serverError,
|
||||
L10().errorFetch,
|
||||
);
|
||||
@ -367,6 +369,7 @@ class InvenTreeModel {
|
||||
);
|
||||
|
||||
showServerError(
|
||||
url,
|
||||
L10().serverError,
|
||||
L10().errorFetch,
|
||||
);
|
||||
@ -408,6 +411,7 @@ class InvenTreeModel {
|
||||
);
|
||||
|
||||
showServerError(
|
||||
URL,
|
||||
L10().serverError,
|
||||
L10().errorCreate,
|
||||
);
|
||||
|
Reference in New Issue
Block a user