2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-13 04:33:03 +00:00

Display part stock in part search results

This commit is contained in:
Oliver Walters 2021-02-13 01:31:42 +11:00
parent 26f978b26d
commit 6f54fb42ee

View File

@ -113,6 +113,7 @@ class PartSearchDelegate extends SearchDelegate<InvenTreePart> {
width: 40,
height: 40
),
trailing: Text(part.inStockString),
onTap: () {
InvenTreePart().get(context, part.pk).then((var prt) {
if (prt is InvenTreePart) {