From dd83414b2f92599f485cb5fd2126d9b3bb42a164 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 6 Mar 2019 21:01:35 -0800 Subject: [PATCH] fixes for ticket #108 changed "true" to true --- front/static/js/viewHistory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);