Add display_name to ReverseGeocode response and update AdventureModal
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -175,4 +175,5 @@ export type ReverseGeocode = {
|
||||
region: string;
|
||||
country: string;
|
||||
is_visited: boolean;
|
||||
display_name: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user