mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 09:25:21 +00:00
[UI] Fix 'available' display (#12279)
- Hide entirely for items not "in_stock"
This commit is contained in:
1 parent
d00681e20c
commit
635ea8179e
1 file changed
+2
-1
@@ -275,7 +275,8 @@ export default function StockDetail() {
|
|||||||
name: 'available_stock',
|
name: 'available_stock',
|
||||||
label: t`Available`,
|
label: t`Available`,
|
||||||
unit: part?.units,
|
unit: part?.units,
|
||||||
icon: 'stock'
|
icon: 'stock',
|
||||||
|
hidden: stockitem.in_stock == false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
|||||||
Reference in new issue
Block a user