From 5058f5192ea49de672ea9ec1e4ac5c76a75a1c56 Mon Sep 17 00:00:00 2001 From: andrzej Date: Wed, 26 Jun 2024 12:42:18 +0200 Subject: [PATCH] disable inspect button for submissions --- src/app/ui/tables/actions.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/ui/tables/actions.tsx b/src/app/ui/tables/actions.tsx index 0d3d85e..67e575a 100644 --- a/src/app/ui/tables/actions.tsx +++ b/src/app/ui/tables/actions.tsx @@ -9,7 +9,10 @@ export function actions({ pathname, deleteFn }: { pathname: string, deleteFn: (i // header: "Actions", cell: ({ row }) => { return
- + {!(pathname === "/submission") ? + + : "" + }