From 4881825fea37a97a8cfd213f3cee68844a1e9187 Mon Sep 17 00:00:00 2001 From: kitos Date: Fri, 29 May 2026 08:54:31 +0200 Subject: [PATCH] fix(techniques): remove broken validate/reject buttons from associated tests The tick/cross buttons navigated to /tests/:id/validate and /tests/:id/reject which are non-existent routes (catch-all redirected to dashboard). Removed both buttons; the View (FileText) icon is the correct entry point to the test detail page where the full workflow lives. --- frontend/src/pages/TechniqueDetailPage.tsx | 36 +++++----------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/frontend/src/pages/TechniqueDetailPage.tsx b/frontend/src/pages/TechniqueDetailPage.tsx index 285437a..4a97cc5 100644 --- a/frontend/src/pages/TechniqueDetailPage.tsx +++ b/frontend/src/pages/TechniqueDetailPage.tsx @@ -12,8 +12,6 @@ import { FileText, ExternalLink, Plus, - Check, - X, AlertTriangle, BookOpen, FlaskConical, @@ -300,33 +298,13 @@ export default function TechniqueDetailPage() { {formatDate(test.created_at)} -
- - {canReview && test.state === "draft" && ( - <> - - - - )} -
+ ))}