1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 14:59:36 +02:00

chore: Refactor CollectionCard component and improve dropdown menu styling

This commit is contained in:
Sean Morley 2024-08-17 17:34:52 -04:00
parent d552c50349
commit c35795144e
3 changed files with 55 additions and 64 deletions

View file

@ -32,6 +32,17 @@
images = adventureToEdit.images || [];
if (adventureToEdit.longitude && adventureToEdit.latitude) {
markers = [
{
lngLat: { lng: adventureToEdit.longitude, lat: adventureToEdit.latitude },
location: adventureToEdit.location || '',
name: adventureToEdit.name,
activity_type: ''
}
];
}
if (longitude && latitude) {
adventureToEdit.latitude = latitude;
adventureToEdit.longitude = longitude;