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 59b2d13 commit 08f8227Copy full SHA for 08f8227
frontend/common/AboutModal.tsx
@@ -62,20 +62,11 @@ export function AnsibleAboutModal(props: AnsibleAboutModalProps) {
62
) : (
63
Object.entries(info).map(([key, value]) => (
64
<React.Fragment key={key}>
65
- {typeof value === 'object' ? (
66
- Object.entries(value).map(([foo, bar]) => (
67
- <DescriptionListGroup key={foo}>
68
- <DescriptionListTerm>{translateVersion(foo, t)}</DescriptionListTerm>
69
- <StyledDescriptionListDescription>
70
- {bar as string}
71
- </StyledDescriptionListDescription>
72
- </DescriptionListGroup>
73
- ))
74
- ) : (
+ {
75
<StyledDescriptionListDescription>
76
{t(value)}
77
</StyledDescriptionListDescription>
78
- )}
+ }
79
</React.Fragment>
80
))
81
)}
0 commit comments