mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Merge pull request #8280 from nixocio/ui_issue_8189
Make ContainerGroupDetails a bit more robust Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
c7869f0408
@ -48,15 +48,17 @@ function ContainerGroupDetails({ instanceGroup, i18n }) {
|
||||
value={i18n._(t`Container group`)}
|
||||
dataCy="container-group-type"
|
||||
/>
|
||||
<Detail
|
||||
label={i18n._(t`Credential`)}
|
||||
value={
|
||||
<Label variant="outline" color="blue">
|
||||
{instanceGroup.summary_fields.credential.name}
|
||||
</Label>
|
||||
}
|
||||
dataCy="container-group-credential"
|
||||
/>
|
||||
{instanceGroup.summary_fields.credential && (
|
||||
<Detail
|
||||
label={i18n._(t`Credential`)}
|
||||
value={
|
||||
<Label variant="outline" color="blue">
|
||||
{instanceGroup.summary_fields.credential?.name}
|
||||
</Label>
|
||||
}
|
||||
dataCy="container-group-credential"
|
||||
/>
|
||||
)}
|
||||
<UserDateDetail
|
||||
label={i18n._(t`Created`)}
|
||||
date={instanceGroup.created}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user