disable inspect button for submissions
This commit is contained in:
parent
494521d51d
commit
878daf35bb
|
@ -9,7 +9,10 @@ export function actions({ pathname, deleteFn }: { pathname: string, deleteFn: (i
|
|||
// header: "Actions",
|
||||
cell: ({ row }) => {
|
||||
return <div className="flex items-center justify-around">
|
||||
{!(pathname === "/submission") ?
|
||||
<Link href={`${pathname}/${row.original.id}`}><Button variant="ghost"><Search /></Button></Link>
|
||||
: ""
|
||||
}
|
||||
<Dialog>
|
||||
<DialogTrigger asChild>
|
||||
<Button variant="ghost"><Trash2 color="red" /></Button>
|
||||
|
|
Loading…
Reference in New Issue