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

Display non-field errors as returned from the server

This commit is contained in:
Oliver
2021-10-03 01:20:37 +10:00
parent b7f9f1c55f
commit 2886f7c930
4 changed files with 87 additions and 20 deletions

View File

@ -622,7 +622,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
title: Text(L10().countStock),
leading: FaIcon(FontAwesomeIcons.checkCircle, color: COLOR_CLICK),
onTap: _countStockDialog,
trailing: Text(item.quantityString),
trailing: Text(item.quantityString(includeUnits: true)),
)
);