diff --git a/awx/ui/src/screens/Host/HostList/HostListItem.js b/awx/ui/src/screens/Host/HostList/HostListItem.js index 87f0bff39d..6bf291a979 100644 --- a/awx/ui/src/screens/Host/HostList/HostListItem.js +++ b/awx/ui/src/screens/Host/HostList/HostListItem.js @@ -85,6 +85,7 @@ function HostListItem({ 0 ? ( diff --git a/awx/ui/src/screens/Template/Survey/SurveyList.test.js b/awx/ui/src/screens/Template/Survey/SurveyList.test.js index 7df31c5c00..3e40e4230e 100644 --- a/awx/ui/src/screens/Template/Survey/SurveyList.test.js +++ b/awx/ui/src/screens/Template/Survey/SurveyList.test.js @@ -12,6 +12,7 @@ const surveyData = { description: 'description for survey', spec: [ { question_name: 'Foo', type: 'text', default: 'Bar', variable: 'foo' }, + { question_name: 'Bizz', type: 'text', default: 'bazz', variable: 'bizz' }, ], }; diff --git a/awx/ui/src/screens/Template/Survey/SurveyListItem.js b/awx/ui/src/screens/Template/Survey/SurveyListItem.js index 35dbe01118..c2ebfd3ebb 100644 --- a/awx/ui/src/screens/Template/Survey/SurveyListItem.js +++ b/awx/ui/src/screens/Template/Survey/SurveyListItem.js @@ -25,6 +25,7 @@ function SurveyListItem({ canEdit, question, isChecked, onSelect, rowIndex }) { return ( - + <> - {question.type} + + {question.type} + {[question.type].includes('password') && ( {t`encrypted`.toUpperCase()}