diff --git a/apps/web/src/features/inventory/components/gear/GearDetailModal.tsx b/apps/web/src/features/inventory/components/gear/GearDetailModal.tsx index dfeccda67..64d4edd44 100644 --- a/apps/web/src/features/inventory/components/gear/GearDetailModal.tsx +++ b/apps/web/src/features/inventory/components/gear/GearDetailModal.tsx @@ -15,6 +15,8 @@ import { FileCheck, Download, Plus, + Pencil, + Trash2, } from 'lucide-react'; import type { GearItem } from '@/types'; import { getWarrantyStatus } from './gearUtils'; @@ -23,6 +25,8 @@ import { cn } from '@/lib/utils'; export interface GearDetailModalProps { item: GearItem; onClose: () => void; + onEdit?: (item: GearItem) => void; + onDelete?: (item: GearItem) => void; onSellOnMarketplace?: (item: GearItem) => void; onLogMaintenance?: (item: GearItem) => void; onContactSupport?: (item: GearItem) => void; @@ -33,6 +37,8 @@ export interface GearDetailModalProps { export function GearDetailModal({ item, onClose, + onEdit, + onDelete, onSellOnMarketplace, onLogMaintenance, onContactSupport, @@ -68,7 +74,28 @@ export function GearDetailModal({

{item.brand} {item.model}

-
+
+ {onEdit && ( + + )} + {onDelete && ( + + )} +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +