1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

#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"
>
<o-dropdown v-model="distance" position="bottom-right" v-if="distance">
<template #trigger>
<o-button :title="t('Select distance')">{{ distanceText }}</o-button>
<template #trigger="{ active }">
<o-button
:title="t('Select distance')"
:icon-right="active ? 'menu-up' : 'menu-down'"
>
{{ distanceText }}
</o-button>
</template>
<o-dropdown-item
v-for="distance_item in distanceList"