From d34950a91b146d2d62779f2cca1eb65fdae06dd9 Mon Sep 17 00:00:00 2001 From: Quintine Date: Wed, 20 May 2026 16:50:37 +1000 Subject: [PATCH] Feat: add adjustable meat type (category) to inventory items --- frontend/src/components/AdminDashboard.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/AdminDashboard.tsx b/frontend/src/components/AdminDashboard.tsx index 26e81c5..221bb88 100644 --- a/frontend/src/components/AdminDashboard.tsx +++ b/frontend/src/components/AdminDashboard.tsx @@ -296,11 +296,13 @@ function AdminStockItem({ item, onUpdate, onDelete }: any) {
{!isEditing ? (
+ {item.category}

{item.name}

{item.description}

) : (
+ setEditData({ ...editData, category: e.target.value })} className="bg-black text-stone-500 border border-stone-700 rounded px-2 py-0.5 text-[10px] font-bold uppercase tracking-widest w-32" placeholder="Meat Type (e.g. Beef)" /> setEditData({ ...editData, name: e.target.value })} className="bg-black text-white border border-stone-700 rounded px-2 py-1 font-bold w-full" placeholder="Item Name" />