From c0a2a698352bcb65fa5c662f82b8113592669f89 Mon Sep 17 00:00:00 2001 From: Alex Corey Date: Tue, 25 Aug 2020 13:32:57 -0400 Subject: [PATCH] removes colon from suvery list item --- awx/ui_next/src/screens/Template/Survey/SurveyListItem.jsx | 4 ++-- .../src/screens/Template/Survey/SurveyListItem.test.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/awx/ui_next/src/screens/Template/Survey/SurveyListItem.jsx b/awx/ui_next/src/screens/Template/Survey/SurveyListItem.jsx index 7ef1fc3d3c..2286510dfb 100644 --- a/awx/ui_next/src/screens/Template/Survey/SurveyListItem.jsx +++ b/awx/ui_next/src/screens/Template/Survey/SurveyListItem.jsx @@ -110,11 +110,11 @@ function SurveyListItem({ , - + {question.type} , - + {[question.type].includes('password') && ( {i18n._(t`encrypted`).toUpperCase()} )} diff --git a/awx/ui_next/src/screens/Template/Survey/SurveyListItem.test.jsx b/awx/ui_next/src/screens/Template/Survey/SurveyListItem.test.jsx index d8caa30efc..6a7cfe4227 100644 --- a/awx/ui_next/src/screens/Template/Survey/SurveyListItem.test.jsx +++ b/awx/ui_next/src/screens/Template/Survey/SurveyListItem.test.jsx @@ -30,13 +30,13 @@ describe('', () => { .find('b') .at(0) .text() - ).toBe('Type:'); + ).toBe('Type'); expect( wrapper .find('b') .at(1) .text() - ).toBe('Default:'); + ).toBe('Default'); expect(wrapper.find('DataListCheck').length).toBe(1); expect(wrapper.find('DataListCell').length).toBe(3); });