From 9c0d934331ea1de9ff29477de3926b963a968638 Mon Sep 17 00:00:00 2001 From: Cyrus <24922493+cyrus-dev@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:38:33 -0400 Subject: [PATCH] Fixed icon display issue. The validationResult name changed --- .../src/main/webapp/WEB-INF/jsp/validation-reports.jsp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HIRS_AttestationCAPortal/src/main/webapp/WEB-INF/jsp/validation-reports.jsp b/HIRS_AttestationCAPortal/src/main/webapp/WEB-INF/jsp/validation-reports.jsp index a42b1336..f74fdbe8 100644 --- a/HIRS_AttestationCAPortal/src/main/webapp/WEB-INF/jsp/validation-reports.jsp +++ b/HIRS_AttestationCAPortal/src/main/webapp/WEB-INF/jsp/validation-reports.jsp @@ -68,17 +68,17 @@ // create status icon var result = full.overallValidationResult; - var ovallMessage = full.message; + var overallMessage = full.message; if (result) { switch (result) { case "PASS": html += ''; break; case "FAIL": - html += ''; + html += ''; break; case "ERROR": - html += ''; + html += ''; break; default: html += unknownStatus; @@ -183,7 +183,7 @@ // the validation_type. for (var i = 0; i < full.validations.length; i++) { var curValidation = full.validations[i]; - var curResult = curValidation.result; + var curResult = curValidation.validationResult; var curMessage = curValidation.message; if (curValidation.validationType === validation_type) {