Highlight name matches

This commit is contained in:
Edward Betts 2021-11-19 15:43:51 +00:00
parent 4645133247
commit 37ba36432b

View file

@ -596,7 +596,10 @@
</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 class="badge bg-success" v-if="osm.name_match">name match</span>
</span>
<template v-if="show_presets && osm.presets.length"> <template v-if="show_presets && osm.presets.length">
<template v-if="osm.name"><br></template> <template v-if="osm.name"><br></template>
<span v-for="(p, index) in osm.presets"> <span v-for="(p, index) in osm.presets">