diff --git a/backlog/features.json b/backlog/features.json index 35a89b9..2bfb077 100644 --- a/backlog/features.json +++ b/backlog/features.json @@ -6902,13 +6902,15 @@ "description": "Categories admin delete action does not work; restore guarded deletion and clear error feedback.", "priority": "high", "risk": "med", - "status": "pending", + "status": "done", "created_at": "2026-08-22", "gates": { - "reviewer": false, - "security": false, - "qa": false - } + "reviewer": true, + "security": true, + "qa": true, + "close": true + }, + "completed_at": "2026-08-22T17:13:31Z" }, { "id": "F-171", diff --git a/project/apps/admin/src/app/(dashboard)/categories/page.tsx b/project/apps/admin/src/app/(dashboard)/categories/page.tsx index 8b974a8..9a2d8e4 100644 --- a/project/apps/admin/src/app/(dashboard)/categories/page.tsx +++ b/project/apps/admin/src/app/(dashboard)/categories/page.tsx @@ -12,7 +12,7 @@ function slugify(text: string): string { .replace(/^-+|-+$/g, ''); } -function CategoryRow({ cat, onEdit, onDelete }: { cat: Category; onEdit: (c: Category) => void; onDelete: (id: string) => void }) { +function CategoryRow({ cat, onEdit, onDelete, deleting }: { cat: Category; onEdit: (c: Category) => void; onDelete: (category: Category) => void; deleting: boolean }) { return ( @@ -45,7 +45,7 @@ function CategoryRow({ cat, onEdit, onDelete }: { cat: Category; onEdit: (c: Cat -