mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02: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:
@@ -48,15 +48,17 @@ function ContainerGroupDetails({ instanceGroup, i18n }) {
|
|||||||
value={i18n._(t`Container group`)}
|
value={i18n._(t`Container group`)}
|
||||||
dataCy="container-group-type"
|
dataCy="container-group-type"
|
||||||
/>
|
/>
|
||||||
<Detail
|
{instanceGroup.summary_fields.credential && (
|
||||||
label={i18n._(t`Credential`)}
|
<Detail
|
||||||
value={
|
label={i18n._(t`Credential`)}
|
||||||
<Label variant="outline" color="blue">
|
value={
|
||||||
{instanceGroup.summary_fields.credential.name}
|
<Label variant="outline" color="blue">
|
||||||
</Label>
|
{instanceGroup.summary_fields.credential?.name}
|
||||||
}
|
</Label>
|
||||||
dataCy="container-group-credential"
|
}
|
||||||
/>
|
dataCy="container-group-credential"
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<UserDateDetail
|
<UserDateDetail
|
||||||
label={i18n._(t`Created`)}
|
label={i18n._(t`Created`)}
|
||||||
date={instanceGroup.created}
|
date={instanceGroup.created}
|
||||||
|
|||||||
Reference in New Issue
Block a user