Skip to content

Commit

Permalink
✨ Show alternate word in pop-up if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Mar Quiroga committed Jul 11, 2024
1 parent 9eb0b8a commit 19c5969
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/RenderWordMapPopup.component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<div class="text-lg md:text-xl mb-2">
{{ word.indigenous }}
</div>
<div class="text-lg md:text-xl mb-4">
<div class="text-lg md:text-xl mb-4" v-if="word.english_alternate">
{{ word.english_alternate }}
</div>
<div class="text-lg md:text-xl mb-4" v-else>
{{ word.english }}
</div>
<div class="text-gray-600 group-hover:text-white text-sm md:text-base">
Expand Down

0 comments on commit 19c5969

Please sign in to comment.