mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
fix unit merging
This commit is contained in:
parent
81518345b6
commit
64c3e5ed45
1 changed files with 4 additions and 18 deletions
|
@ -19,30 +19,16 @@
|
|||
v-model="fromUnit"
|
||||
return-object
|
||||
:items="store"
|
||||
item-title="id"
|
||||
item-title="name"
|
||||
:label="$t('data-pages.units.source-unit')"
|
||||
>
|
||||
<template #chip="{ item }">
|
||||
{{ item.raw.name }}
|
||||
</template>
|
||||
<template #item="{ item }">
|
||||
{{ item.raw.name }}
|
||||
</template>
|
||||
</v-autocomplete>
|
||||
/>
|
||||
<v-autocomplete
|
||||
v-model="toUnit"
|
||||
return-object
|
||||
:items="store"
|
||||
item-title="id"
|
||||
item-title="name"
|
||||
:label="$t('data-pages.units.target-unit')"
|
||||
>
|
||||
<template #chip="{ item }">
|
||||
{{ item.raw.name }}
|
||||
</template>
|
||||
<template #item="{ item }">
|
||||
{{ item.raw.name }}
|
||||
</template>
|
||||
</v-autocomplete>
|
||||
/>
|
||||
|
||||
<template v-if="canMerge && fromUnit && toUnit">
|
||||
<div class="text-center">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue