mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-10-04 17:04:53 +02:00
details in results on home
This commit is contained in:
parent
7887356dd9
commit
da60f964ab
1 changed files with 3 additions and 4 deletions
|
@ -659,10 +659,9 @@
|
|||
// Format the display text based on available properties
|
||||
let displayText = result.display_name;
|
||||
if (result.name) {
|
||||
displayText = result.name;
|
||||
if (result.address && result.address.city) {
|
||||
displayText += `, ${result.address.city}`;
|
||||
}
|
||||
displayText = result.display_name;
|
||||
console.log('result', result)
|
||||
|
||||
}
|
||||
|
||||
// Add result number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue