hasadna / avid-covider

MIT License
23 stars 8 forks source link

fix: avoid displaying {{street}} when providing an empty street name #301

Closed moshikod closed 4 years ago

moshikod commented 4 years ago

when an empty (none) street value is provided, the hatool variable replacement uses the name of the field, street in this case.

the fix relies on a new calculated variable _location which is the trimmed result of concatenating the optional street name and the city.

moshikod commented 4 years ago

A fix for https://github.com/hasadna/avid-covider/issues/184

akariv commented 4 years ago

Thanks @moshikod , merged!