fixes for ticket #108 changed "true" to true

This commit is contained in:
Jack 2019-03-06 21:01:35 -08:00
parent 024e5dae9c
commit dd83414b2f

View file

@ -470,7 +470,7 @@ function displayReport(parsedData){
let p1Value = ""; let p1Value = "";
if(field.field_type == "boolean") if(field.field_type == "boolean")
{ {
if(field.value == "true") if(field.value == true)
{ {
p1Value = document.createTextNode(field.label + ": " + "Yes"); p1Value = document.createTextNode(field.label + ": " + "Yes");
p1.appendChild(p1Value); p1.appendChild(p1Value);