mirror of
https://github.com/inventree/InvenTree.git
synced 2026-07-04 06:00:38 +00:00
[UI] Fix 'available' display (#12279)
- Hide entirely for items not "in_stock"
This commit is contained in:
@@ -275,7 +275,8 @@ export default function StockDetail() {
|
||||
name: 'available_stock',
|
||||
label: t`Available`,
|
||||
unit: part?.units,
|
||||
icon: 'stock'
|
||||
icon: 'stock',
|
||||
hidden: stockitem.in_stock == false
|
||||
},
|
||||
{
|
||||
type: 'number',
|
||||
|
||||
Reference in New Issue
Block a user