Formatting

This commit is contained in:
2026-02-20 12:38:57 +04:00
parent 2aa59f9384
commit 2734f08608
3 changed files with 31 additions and 25 deletions

View File

@@ -21,11 +21,7 @@ export default class PlaceDetails extends Component {
}
get name() {
return (
this.place.title ||
getLocalizedName(this.tags) ||
'Unnamed Place'
);
return this.place.title || getLocalizedName(this.tags) || 'Unnamed Place';
}
@action
@@ -274,7 +270,11 @@ export default class PlaceDetails extends Component {
<p class="content-with-icon">
<Icon @name="map" />
<span>
<a href={{this.gmapsUrl}} target="_blank" rel="noopener noreferrer">
<a
href={{this.gmapsUrl}}
target="_blank"
rel="noopener noreferrer"
>
Google Maps
</a>
</span>