diff --git a/awx/ui/client/features/output/details.component.js b/awx/ui/client/features/output/details.component.js index 4a0bd3c5cc..eb7726cdcd 100644 --- a/awx/ui/client/features/output/details.component.js +++ b/awx/ui/client/features/output/details.component.js @@ -113,8 +113,8 @@ function getVerbosityDetails () { return { label, value }; } -function getEnvironmentDetails () { - const value = resource.model.get('custom_virtualenv'); +function getEnvironmentDetails (custom_virtualenv) { + const value = custom_virtualenv || resource.model.get('custom_virtualenv'); if (!value || value === '') { return null;