This commit is contained in:
Jake Kasper
2025-08-29 08:45:59 -04:00
parent e5275398ea
commit 0cc5372e3d
2 changed files with 6 additions and 1 deletions

View File

@@ -95,6 +95,11 @@ const Layout = ({ children }) => {
href: '/admin/products', href: '/admin/products',
icon: BeakerIcon, icon: BeakerIcon,
}, },
{
name: 'Manage Equipment',
href: '/admin/equipment',
icon: WrenchScrewdriverIcon,
},
]; ];
const handleLogout = () => { const handleLogout = () => {

View File

@@ -376,7 +376,7 @@ const AdminEquipment = () => {
</thead> </thead>
<tbody className="bg-white divide-y divide-gray-200"> <tbody className="bg-white divide-y divide-gray-200">
{filteredEquipment.map((equip) => ( {filteredEquipment.map((equip) => (
<tr key={equip.id} className="hover:bg-gray-50"> <tr key={`${equip.isShared ? 'shared' : 'custom'}-${equip.id}`} className="hover:bg-gray-50">
<td className="px-6 py-4 whitespace-nowrap"> <td className="px-6 py-4 whitespace-nowrap">
<div className="flex items-center"> <div className="flex items-center">
<div className="h-10 w-10 rounded-full bg-orange-100 flex items-center justify-center"> <div className="h-10 w-10 rounded-full bg-orange-100 flex items-center justify-center">