mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 04:15:02 -02:30
Merge pull request #8682 from jakemcdermott/fix-8669
Only display inventory file for scm sources Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -214,10 +214,14 @@ function InventorySourceDetail({ inventorySource, i18n }) {
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<Detail
|
{source === 'scm' ? (
|
||||||
label={i18n._(t`Inventory file`)}
|
<Detail
|
||||||
value={source_path === '' ? i18n._(t`/ (project root)`) : source_path}
|
label={i18n._(t`Inventory file`)}
|
||||||
/>
|
value={
|
||||||
|
source_path === '' ? i18n._(t`/ (project root)`) : source_path
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
) : null}
|
||||||
<Detail label={i18n._(t`Verbosity`)} value={VERBOSITY[verbosity]} />
|
<Detail label={i18n._(t`Verbosity`)} value={VERBOSITY[verbosity]} />
|
||||||
<Detail
|
<Detail
|
||||||
label={i18n._(t`Cache timeout`)}
|
label={i18n._(t`Cache timeout`)}
|
||||||
|
|||||||
Reference in New Issue
Block a user