Showing
1 changed file
with
1 additions
and
1 deletions
@@ -152,7 +152,7 @@ function parseTemplate(template: string, data: { $datasource?: Datasource, [key: | @@ -152,7 +152,7 @@ function parseTemplate(template: string, data: { $datasource?: Datasource, [key: | ||
152 | } | 152 | } |
153 | } | 153 | } |
154 | 154 | ||
155 | - const value = data[label]; | 155 | + const value = data[label] || ''; |
156 | let textValue: string; | 156 | let textValue: string; |
157 | if (isNumber(value)) { | 157 | if (isNumber(value)) { |
158 | textValue = padValue(value, valDec); | 158 | textValue = padValue(value, valDec); |