#1492: address distance correction

This commit is contained in:
Laurent GAY 2024-11-06 17:44:54 +01:00
parent ea6d1ba83d
commit 3885c8e62f

View file

@ -30,8 +30,13 @@
v-on:update:modelValue="modelValueUpdate" v-on:update:modelValue="modelValueUpdate"
> >
<o-dropdown v-model="distance" position="bottom-right" v-if="distance"> <o-dropdown v-model="distance" position="bottom-right" v-if="distance">
<template #trigger> <template #trigger="{ active }">
<o-button :title="t('Select distance')">{{ distanceText }}</o-button> <o-button
:title="t('Select distance')"
:icon-right="active ? 'menu-up' : 'menu-down'"
>
{{ distanceText }}
</o-button>
</template> </template>
<o-dropdown-item <o-dropdown-item
v-for="distance_item in distanceList" v-for="distance_item in distanceList"