Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
hana-akamai committed Dec 5, 2024
1 parent bb72b61 commit 04f38e3
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,23 +167,21 @@ export const NodeTable = React.memo((props: Props) => {
justifyContent="space-between"
px={2}
>
<Box
alignItems="center"
data-testid={encryptionStatusTestId}
display="flex"
flexDirection="row"
width="100%"
>
<Box display="flex" width="100%">
{isDiskEncryptionFeatureEnabled &&
encryptionStatus !== undefined ? (
<>
<Box
alignItems="center"
data-testid={encryptionStatusTestId}
display="flex"
>
<Typography>Pool ID {poolId}</Typography>
<StyledVerticalDivider />
<EncryptedStatus
encryptionStatus={encryptionStatus}
tooltipText={DISK_ENCRYPTION_NODE_POOL_GUIDANCE_COPY}
/>
</>
</Box>
) : (
<Typography>Pool ID {poolId}</Typography>
)}
Expand Down

0 comments on commit 04f38e3

Please sign in to comment.