feat(F-084): completed feature
This commit is contained in:
@@ -17,7 +17,11 @@ function CategoryRow({ cat, onEdit, onDelete }: { cat: Category; onEdit: (c: Cat
|
||||
<tr className="hover:bg-gray-50 transition-colors">
|
||||
<td className="px-4 py-3">
|
||||
<div className="flex items-center gap-2">
|
||||
{cat.children && cat.children.length > 0 && <span className="text-gray-300">{cat.emoji ?? '📁'}</span>}
|
||||
{cat.emoji ? (
|
||||
<span className="text-xl">{cat.emoji}</span>
|
||||
) : (
|
||||
<span className="text-gray-300 text-xl select-none" aria-hidden="true">·</span>
|
||||
)}
|
||||
<div>
|
||||
<p className="text-sm font-medium text-gray-900">{cat.name}</p>
|
||||
<p className="text-xs text-gray-400">/{cat.slug}</p>
|
||||
|
||||
Reference in New Issue
Block a user