No need to show street address a second time
This commit is contained in:
parent
fc26c906a1
commit
98bca5229c
|
@ -143,10 +143,10 @@
|
||||||
@click.stop>{{p.name}} <i class="fa fa-external-link"></i></a>
|
@click.stop>{{p.name}} <i class="fa fa-external-link"></i></a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span v-if="osm.address">
|
<span v-if="osm.address && osm.address != osm.name">
|
||||||
<br>street address: {{ osm.address }}
|
<br>street address: {{ osm.address }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else-if="osm.tags['addr:street']">
|
<span v-else-if="osm.tags['addr:street'] && osm.address != osm.name">
|
||||||
<br>street: {{ osm.tags['addr:street'] }}
|
<br>street: {{ osm.tags['addr:street'] }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
@ -325,10 +325,10 @@
|
||||||
@click.stop>{{p.name}} <i class="fa fa-external-link"></i></a>
|
@click.stop>{{p.name}} <i class="fa fa-external-link"></i></a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span v-if="osm.address">
|
<span v-if="osm.address && osm.address != osm.name">
|
||||||
<br>street address: {{ osm.address }}
|
<br>street address: {{ osm.address }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else-if="osm.tags['addr:street']">
|
<span v-else-if="osm.tags['addr:street'] && osm.address != osm.name">
|
||||||
<br>street: {{ osm.tags['addr:street'] }}
|
<br>street: {{ osm.tags['addr:street'] }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue