From 76a16b329e85f7d75dc300d4fa32b8855fea99a6 Mon Sep 17 00:00:00 2001 From: kialam Date: Thu, 7 Feb 2019 08:59:44 -0700 Subject: [PATCH] Conditionally show the Artifacts field. --- awx/ui/client/features/output/details.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/features/output/details.component.js b/awx/ui/client/features/output/details.component.js index 004f0a2395..79b04eb8f8 100644 --- a/awx/ui/client/features/output/details.component.js +++ b/awx/ui/client/features/output/details.component.js @@ -580,7 +580,7 @@ function getExtraVarsDetails () { function getArtifactsDetails (val) { const artifacts = val || resource.model.get('artifacts'); - if (!artifacts) { + if (!artifacts || artifacts === '{}') { return null; }