mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Conditionally show the Artifacts field.
This commit is contained in:
@@ -580,7 +580,7 @@ function getExtraVarsDetails () {
|
|||||||
function getArtifactsDetails (val) {
|
function getArtifactsDetails (val) {
|
||||||
const artifacts = val || resource.model.get('artifacts');
|
const artifacts = val || resource.model.get('artifacts');
|
||||||
|
|
||||||
if (!artifacts) {
|
if (!artifacts || artifacts === '{}') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user