mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
Merge pull request #11776 from nixocio/ui_ternary
Use ternary rather than &&
This commit is contained in:
commit
b7d0ec53e8
@ -109,12 +109,12 @@ function NotificationTemplateDetail({ template, defaultMessages }) {
|
||||
value={template.description}
|
||||
dataCy="nt-detail-description"
|
||||
/>
|
||||
{summary_fields.recent_notifications.length && (
|
||||
{summary_fields.recent_notifications.length ? (
|
||||
<Detail
|
||||
label={t`Status`}
|
||||
value={<StatusLabel status={testStatus} />}
|
||||
/>
|
||||
)}
|
||||
) : null}
|
||||
{summary_fields.organization ? (
|
||||
<Detail
|
||||
label={t`Organization`}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user