2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 10:45:29 +00:00

Pop to the previous context if the stock item is "bad"

This commit is contained in:
Oliver Walters
2022-03-26 17:38:30 +11:00
parent 0b3e716827
commit faf8e45138
12 changed files with 60 additions and 50 deletions

View File

@ -72,11 +72,11 @@ class _PartAttachmentDisplayState extends RefreshableState<PartAttachmentsWidget
showSnackIcon(L10().uploadFailed, success: false);
}
refresh();
refresh(context);
}
@override
Future<void> request() async {
Future<void> request(BuildContext context) async {
await InvenTreePartAttachment().list(
filters: {