mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Falling back to project.status if the last project sync job was deleted (#12215)
This commit is contained in:
parent
78660ad0a2
commit
cfdba959dd
@ -195,7 +195,7 @@ function ProjectListItem({
|
||||
)}
|
||||
</TdBreakWord>
|
||||
<Td dataLabel={t`Status`}>
|
||||
{job && (
|
||||
{job ? (
|
||||
<Tooltip
|
||||
position="top"
|
||||
content={generateLastJobTooltip(job)}
|
||||
@ -205,6 +205,14 @@ function ProjectListItem({
|
||||
<StatusLabel status={job.status} />
|
||||
</Link>
|
||||
</Tooltip>
|
||||
) : (
|
||||
<Tooltip
|
||||
position="top"
|
||||
content={t`Unable to load last job update`}
|
||||
key={project.id}
|
||||
>
|
||||
<StatusLabel status={project?.status} />
|
||||
</Tooltip>
|
||||
)}
|
||||
</Td>
|
||||
<Td dataLabel={t`Type`}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user