Merge pull request #392 from seanmorley15/fix-390

Update adventure display to show category name and icon
This commit is contained in:
Sean Morley
2024-11-29 17:12:49 -05:00
committed by GitHub

View File

@@ -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>