Skip to content

Commit

Permalink
Merge pull request #686 from unepwcmc/feat/hide-western-sahara-flag
Browse files Browse the repository at this point in the history
Feat/hide western sahara flag
  • Loading branch information
stacytalbot authored Jun 13, 2022
2 parents b19daad + 8efb646 commit dc8920c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/partials/stats/_stats-overview.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

<% if local_assigns[:flag] %>
<div class="card__heading">
<i class="card__flag icon--flag-outline" style="background-image:url('<%= flag %>');"></i>
<% unless @country.iso_3 == 'ESH' # temporary fix until we can figure out where the flag asset is cached %>
<i class="card__flag icon--flag-outline" style="background-image:url('<%= flag %>');"></i>
<% end %>
<h1 class="card__h1"><%= title %></h1>
</div>
<% else %>
Expand Down

0 comments on commit dc8920c

Please sign in to comment.