Fix mapping over null reference for KMS endpoints (#3367)

This commit is contained in:
Javier Adriel
2024-06-03 15:03:35 -06:00
committed by GitHub
parent 6a591c1bcd
commit 271560894a

View File

@@ -203,7 +203,8 @@ const Status = () => {
label={"Key Management Service Endpoints:"}
value={
<Fragment>
{status.endpoints?.map((e: any, i: number) => (
{status.endpoints &&
status.endpoints.map((e: any, i: number) => (
<LabelWithIcon
key={i}
icon={