diff --git a/frontend/src/components/sdcCollection/StepFourValidateData.vue b/frontend/src/components/sdcCollection/StepFourValidateData.vue index ab599b52f..1965c72dc 100644 --- a/frontend/src/components/sdcCollection/StepFourValidateData.vue +++ b/frontend/src/components/sdcCollection/StepFourValidateData.vue @@ -86,7 +86,7 @@ - + @@ -156,7 +157,10 @@ - + Legal Name @@ -180,7 +184,7 @@ > @@ -190,12 +194,12 @@ - {{ item.value.studentPen }} + {{ fieldOrHyphen(item.value.studentPen) }} - {{ item.value.localID }} + {{ fieldOrHyphen(item.value.localID) }} @@ -203,14 +207,14 @@ - {{ `${fieldOrHyphen(item.value.legalLastName)} ${fieldOrHyphen(item.value.legalFirstName)}` }} + {{ `${fieldOrHyphen(item.value.legalLastName)}, ${fieldOrHyphen(item.value.legalFirstName)} ${fieldOrSpace(item.value.legalMiddleNames)}` }} - {{ `${fieldOrHyphen(item.value.usualLastName)} ${fieldOrHyphen(item.value.usualFirstName)}` }} + {{ `${fieldOrHyphen(item.value.usualLastName)}, ${fieldOrHyphen(item.value.usualFirstName)} ${fieldOrSpace(item.value.usualMiddleNames)}` }} @@ -925,6 +929,8 @@ const getValidationIssueSeverityCodeLabel = (severityCode) => { const fieldOrHyphen = (field) => field || '-'; +const fieldOrSpace = (field) => field || ''; + const formatAndSortValidationIssues = (validationIssues = []) => { let validationIssueMap = new Map(); for (let issue of validationIssues) {