[UI] Fix 'available' display

- Hide entirely for items not "in_stock"
This commit is contained in:
Oliver Walters 2026-06-29 23:24:19 +00:00
parent d00681e20c
commit 9909782251
1 changed files with 2 additions and 1 deletions

View File

@ -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',