safer handling of componentValueQuantity.
This commit is contained in:
parent
08f8722826
commit
99317bc71c
|
@ -16,9 +16,14 @@
|
|||
|
||||
|
||||
{{range $index, $text := $componentCodeText }}
|
||||
{{$text}} - {{index $componentValueQuantity $index}}
|
||||
{{$text}}
|
||||
{{if lt $index (len $componentValueQuantity)}}
|
||||
- {{index $componentValueQuantity $index}}
|
||||
{{end}}
|
||||
{{if (get $ "include_unit")}}
|
||||
{{index $componentValueQuantityUnit $index}}
|
||||
{{if lt $index (len $componentValueQuantityUnit)}}
|
||||
{{index $componentValueQuantityUnit $index}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
<br/>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue