diff --git a/awx/ui/client/features/output/details.component.js b/awx/ui/client/features/output/details.component.js index 79b04eb8f8..5348850f5b 100644 --- a/awx/ui/client/features/output/details.component.js +++ b/awx/ui/client/features/output/details.component.js @@ -579,8 +579,7 @@ function getExtraVarsDetails () { function getArtifactsDetails (val) { const artifacts = val || resource.model.get('artifacts'); - - if (!artifacts || artifacts === '{}') { + if (!artifacts || (Object.entries(artifacts).length === 0 && artifacts.constructor === Object)) { return null; }