diff --git a/ui/src/app/components/GenerationRequestTable/GenerationRequestTable.tsx b/ui/src/app/components/GenerationRequestTable/GenerationRequestTable.tsx index c5702e4fd..0f2f298ec 100644 --- a/ui/src/app/components/GenerationRequestTable/GenerationRequestTable.tsx +++ b/ui/src/app/components/GenerationRequestTable/GenerationRequestTable.tsx @@ -10,10 +10,11 @@ import { } from '@patternfly/react-core'; import { Caption, Table, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table'; import React from 'react'; -import { useNavigate } from 'react-router-dom'; +import { Link, useNavigate } from 'react-router-dom'; import { useSearchParam } from 'react-use'; import { ErrorSection } from '../Sections/ErrorSection/ErrorSection'; import { useGenerationRequests } from './useGenerationRequests'; +import { openInNewTab } from '@app/utils/openInNewTab'; const columnNames = { id: 'ID', @@ -70,9 +71,16 @@ export const GenerationRequestTable = () => { {value.map((generation) => ( - navigate('/generations/' + generation.id)}> + navigate(`/generations/${generation.id}`)} + onAuxClick={() => openInNewTab(`/generations/${generation.id}`)} + > -
{generation.id}
+ +
{generation.id}
+ { {value.map((manifest) => ( - navigate('/manifests/' + manifest.id)}> + navigate(`/manifests/${manifest.id}`)} + onAuxClick={() => openInNewTab(`/manifests/${manifest.id}`)} + > -
{manifest.id}
+ +
{manifest.id}
+