[UI] Fix 'available' display
- Hide entirely for items not "in_stock"
This commit is contained in:
parent
d00681e20c
commit
9909782251
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue