Skip to content

Commit

Permalink
Remove endpointTLS from test 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrockainq committed Oct 17, 2024
1 parent 2d838e9 commit 7dde799
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions src/components/direct/hisp/XDRTestCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -638,16 +638,22 @@ const TestCard = ({ test }: TestCardProps) => {
Endpoint
</Button>
</Tooltip>
<Tooltip placement="bottom" title={endpointsGenerated ? endpointTLS : `${defaultEndpointTLS}`} arrow>
<Button
sx={{ ml: 2 }}
color="secondary"
endIcon={<ContentPasteGoIcon />}
onClick={(e) => handleClick(e, endpointsGenerated ? endpointTLS : `${defaultEndpointTLS}`)}
{test.id != 7 && (
<Tooltip
placement="bottom"
title={endpointsGenerated ? endpointTLS : `${defaultEndpointTLS}`}
arrow
>
Endpoint TLS
</Button>
</Tooltip>
<Button
sx={{ ml: 2 }}
color="secondary"
endIcon={<ContentPasteGoIcon />}
onClick={(e) => handleClick(e, endpointsGenerated ? endpointTLS : `${defaultEndpointTLS}`)}
>
Endpoint TLS
</Button>
</Tooltip>
)}
</Box>
)}
{requiresCCDADocument() && !endpointsGenerated && (
Expand Down

0 comments on commit 7dde799

Please sign in to comment.