feat(F-084): completed feature

This commit is contained in:
chattie
2026-08-20 06:09:17 +02:00
parent 22ad15325f
commit 3b5ea8f261
9 changed files with 152 additions and 23 deletions

View File

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