Skip to content

Commit 304b5f3

Browse files
authored
Merge pull request #913 from kiva/MRKT-448-country-gaurd
fix: wrap loan row country data in flag for visibility
2 parents 4864669 + 6ea1353 commit 304b5f3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/_patterns/01-molecules/40-portfolio/07-my-loans-table-row.mustache

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
2727
<div class="activity">
2828
{{activity.name}}
2929
</div>
30-
<div class="country">
31-
<span class="f16 {{geocode.country.isoCode}}"></span>{{geocode.country.name}}
32-
</div>
30+
{{#hasCountry}}
31+
<div class="country">
32+
<span class="f16 {{geocode.country.isoCode}}"></span>{{geocode.country.name}}
33+
</div>
34+
{{/hasCountry}}
3335
<div class="partner-trustee fs-mask data-hj-suppress">
3436
<a href="{{partnerTrusteeUrl}}">{{partnerName}}{{trusteeName}}</a>
3537
</div>

0 commit comments

Comments
 (0)