Move 'no name' in candidates list

This commit is contained in:
Edward Betts 2021-10-22 11:58:34 +01:00
parent 463e05b856
commit 43cf62e997

View file

@ -593,10 +593,9 @@
</td> </td>
<td> <td>
<span class="badge bg-primary float-end">{{ osm.type }}</span> <span class="badge bg-primary float-end">{{ osm.type }}</span>
<span v-if="osm.name">{{ osm.name }} </span> <span v-if="osm.name">{{ osm.name }}</span>
<i v-else>no name </i>
<template v-if="show_presets && osm.presets.length"> <template v-if="show_presets && osm.presets.length">
<br> <template v-if="osm.name"><br></template>
<span v-for="(p, index) in osm.presets"> <span v-for="(p, index) in osm.presets">
<span v-if="index != 0">, </span> <span v-if="index != 0">, </span>
<a <a
@ -606,6 +605,7 @@
@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>
</template> </template>
<template v-if="!osm.name"> <i>no name</i></template>
<span v-if="osm.address && osm.address != osm.name"> <span v-if="osm.address && osm.address != osm.name">
<br>street address: {{ osm.address }} <br>street address: {{ osm.address }}