diff --git a/front/static/js/viewHistory.js b/front/static/js/viewHistory.js index 055011d..3efeb85 100644 --- a/front/static/js/viewHistory.js +++ b/front/static/js/viewHistory.js @@ -470,7 +470,7 @@ function displayReport(parsedData){ let p1Value = ""; if(field.field_type == "boolean") { - if(field.value == "true") + if(field.value == true) { p1Value = document.createTextNode(field.label + ": " + "Yes"); p1.appendChild(p1Value);