Commit 7a088aae authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh Committed by Flavio TARSETTI

[reports][js] fix parsing 0-valued table entries

parent a809c68b
Pipeline #29130 passed with stage
in 15 minutes and 42 seconds
......@@ -126,11 +126,11 @@ angular.module('reportApp')
if(field === scope.fields[0]){
val = alias;
} else if(!fVal){
} else if(fVal === undefined){
val = '-';
} else {
let tmp;
if(fVal.value){
if(fVal.hasOwnProperty('value')){
tmp = fVal.value;
} else {
tmp = fVal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment