From 14423c4f3f87b02c8583a5ca954222088857923c Mon Sep 17 00:00:00 2001 From: mabashian Date: Thu, 24 Jan 2019 12:58:29 -0500 Subject: [PATCH] Add param to getEnvironmentDetails allowing us to pass in a value rather than pulling it from the model --- awx/ui/client/features/output/details.component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;