diff --git a/src/components/Form/IpaCertificates.tsx b/src/components/Form/IpaCertificates.tsx index 614280be2..90b3555be 100644 --- a/src/components/Form/IpaCertificates.tsx +++ b/src/components/Form/IpaCertificates.tsx @@ -518,7 +518,7 @@ const IpaCertificates = (props: PropsToIpaCertificates) => { {certificatesList !== undefined && certificatesList.length > 0 ? certificatesList.map((cert, idx) => { return ( - <> +
{cert.certInfo !== undefined && Object.keys(cert.certInfo).length !== 0 && (
@@ -535,7 +535,7 @@ const IpaCertificates = (props: PropsToIpaCertificates) => { />
)} - +
); }) : null} diff --git a/src/components/Form/IpaSshPublicKeys.tsx b/src/components/Form/IpaSshPublicKeys.tsx index 9e4b9edde..222407010 100644 --- a/src/components/Form/IpaSshPublicKeys.tsx +++ b/src/components/Form/IpaSshPublicKeys.tsx @@ -261,7 +261,7 @@ const IpaSshPublicKeys = (props: PropsToSshPublicKeysModal) => { {sshPublicKeysList !== undefined ? sshPublicKeysList.map((publicKey, idx) => { return ( - <> +
{publicKey !== "" && ( <> @@ -294,7 +294,7 @@ const IpaSshPublicKeys = (props: PropsToSshPublicKeysModal) => { )} - +
); }) : null}