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

Add display_name to ReverseGeocode response and update AdventureModal

This commit is contained in:
Sean Morley 2024-10-31 23:47:02 -04:00
parent 25ed72afbc
commit a7a49227c4
4 changed files with 31 additions and 15 deletions

View file

@ -111,6 +111,15 @@
markers = [];
}
$: {
if (
reverseGeocodePlace?.display_name &&
adventure.location != reverseGeocodePlace.display_name
) {
adventure.location = reverseGeocodePlace.display_name;
}
}
let imageSearch: string = adventure.name || '';
async function removeImage(id: string) {