We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a591c1 commit 2715608Copy full SHA for 2715608
web-app/src/screens/Console/KMS/Status.tsx
@@ -203,19 +203,20 @@ const Status = () => {
203
label={"Key Management Service Endpoints:"}
204
value={
205
<Fragment>
206
- {status.endpoints?.map((e: any, i: number) => (
207
- <LabelWithIcon
208
- key={i}
209
- icon={
210
- e.status === "online" ? (
211
- <EnabledIcon />
212
- ) : (
213
- <DisabledIcon />
214
- )
215
- }
216
- label={e.url}
217
- />
218
- ))}
+ {status.endpoints &&
+ status.endpoints.map((e: any, i: number) => (
+ <LabelWithIcon
+ key={i}
+ icon={
+ e.status === "online" ? (
+ <EnabledIcon />
+ ) : (
+ <DisabledIcon />
+ )
+ }
+ label={e.url}
+ />
219
+ ))}
220
</Fragment>
221
}
222
/>
0 commit comments