1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 05:05:17 +02:00

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
commit 1f4a02467b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -594,7 +594,7 @@
<Popup openOn="click" offset={[0, -10]}> <Popup openOn="click" offset={[0, -10]}>
<div class="text-lg text-black font-bold">{adventure.name}</div> <div class="text-lg text-black font-bold">{adventure.name}</div>
<p class="font-semibold text-black text-md"> <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> </p>
</Popup> </Popup>
</DefaultMarker> </DefaultMarker>