Skip to content

Commit

Permalink
Merge pull request #392 from seanmorley15/fix-390
Browse files Browse the repository at this point in the history
Update adventure display to show category name and icon
  • Loading branch information
seanmorley15 authored Nov 29, 2024
2 parents 2d24cb8 + aecb3ca commit 1f4a024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/routes/collections/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@
<Popup openOn="click" offset={[0, -10]}>
<div class="text-lg text-black font-bold">{adventure.name}</div>
<p class="font-semibold text-black text-md">
{adventure.type.charAt(0).toUpperCase() + adventure.type.slice(1)}
{adventure.category?.display_name + ' ' + adventure.category?.icon}
</p>
</Popup>
</DefaultMarker>
Expand Down

0 comments on commit 1f4a024

Please sign in to comment.