mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Improve invalid response code messages
This commit is contained in:
parent
d03e1db4c3
commit
960b55d4a4
3 changed files with 36 additions and 3 deletions
|
|
@ -90,10 +90,15 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
|
||||
final bool result = await part.update(context, values: values);
|
||||
|
||||
if (result) {
|
||||
showSnackIcon("Part edited", success: true);
|
||||
}
|
||||
/*
|
||||
showSnackIcon(
|
||||
result ? "Part edited" : "Part editing failed",
|
||||
success: result
|
||||
);
|
||||
*/
|
||||
|
||||
refresh();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue