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