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:
parent
25ed72afbc
commit
a7a49227c4
4 changed files with 31 additions and 15 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue