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:
parent
ea6d1ba83d
commit
3885c8e62f
1 changed files with 7 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue