mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Cleanup for API error handling
Ref: https://stackoverflow.com/questions/54617432/looking-up-a-deactivated-widgets-ancestor-is-unsafe
This commit is contained in:
parent
90072904a0
commit
33bb6148de
11 changed files with 162 additions and 167 deletions
|
|
@ -217,7 +217,7 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
ListTile(
|
||||
title: Text(I18N.of(context).stock),
|
||||
leading: FaIcon(FontAwesomeIcons.boxes),
|
||||
trailing: Text("${part.inStock}"),
|
||||
trailing: Text("${part.inStockString}"),
|
||||
onTap: () {
|
||||
_showStock(context);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue