mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
fix recipe organizers not showing in edit mode
This commit is contained in:
parent
e234c876b2
commit
af24ed8248
1 changed files with 12 additions and 17 deletions
|
@ -11,37 +11,32 @@
|
||||||
multiple
|
multiple
|
||||||
variant="underlined"
|
variant="underlined"
|
||||||
:prepend-inner-icon="icon"
|
:prepend-inner-icon="icon"
|
||||||
|
:append-icon="$globals.icons.create"
|
||||||
return-object
|
return-object
|
||||||
auto-select-first
|
auto-select-first
|
||||||
class="pa-0"
|
class="pa-0"
|
||||||
@update:model-value="resetSearchInput"
|
@update:model-value="resetSearchInput"
|
||||||
|
@click:append="dialog = true"
|
||||||
>
|
>
|
||||||
<template #chip="data">
|
<template #chip="{ item, index }">
|
||||||
<v-chip
|
<v-chip
|
||||||
:key="data.index"
|
:key="index"
|
||||||
class="ma-1"
|
class="ma-1"
|
||||||
:input-value="data.item.raw.selected"
|
color="accent"
|
||||||
size="small"
|
variant="flat"
|
||||||
:append-icon="$globals.icons.close"
|
label
|
||||||
color="white"
|
|
||||||
dark
|
closable
|
||||||
@click:close="removeByIndex(data.index)"
|
@click:close="removeByIndex(index)"
|
||||||
>
|
>
|
||||||
{{ data.item.raw.name }}
|
{{ item.value }}
|
||||||
</v-chip>
|
</v-chip>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template
|
<template
|
||||||
v-if="showAdd"
|
v-if="showAdd"
|
||||||
#append
|
#append
|
||||||
>
|
>
|
||||||
<v-btn
|
|
||||||
icon
|
|
||||||
@click="dialog = true"
|
|
||||||
>
|
|
||||||
<v-icon>
|
|
||||||
{{ $globals.icons.create }}
|
|
||||||
</v-icon>
|
|
||||||
</v-btn>
|
|
||||||
<RecipeOrganizerDialog
|
<RecipeOrganizerDialog
|
||||||
v-model="dialog"
|
v-model="dialog"
|
||||||
:item-type="selectorType"
|
:item-type="selectorType"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue