mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 01:58:09 -03:30
add new locator for deleted inventory
This commit is contained in:
@@ -11,8 +11,8 @@ const Detail = styled(_Detail)`
|
||||
}
|
||||
`;
|
||||
|
||||
function DeletedDetail({ label }) {
|
||||
return <Detail label={label} value={t`Deleted`} />;
|
||||
function DeletedDetail({ label, dataCy }) {
|
||||
return <Detail label={label} dataCy={dataCy} value={t`Deleted`} />;
|
||||
}
|
||||
|
||||
DeletedDetail.propTypes = {
|
||||
|
||||
@@ -218,7 +218,9 @@ function JobTemplateDetail({ template }) {
|
||||
)}
|
||||
/>
|
||||
) : (
|
||||
!ask_inventory_on_launch && <DeletedDetail label={t`Inventory`} />
|
||||
!ask_inventory_on_launch && (
|
||||
<DeletedDetail label={t`Inventory`} dataCy="jt-detail-inventory" />
|
||||
)
|
||||
)}
|
||||
{summary_fields.project ? (
|
||||
<Detail
|
||||
|
||||
Reference in New Issue
Block a user