mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
fix settings menu
This commit is contained in:
parent
b1d87b4672
commit
b71e8ffa1f
2 changed files with 3 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
<v-divider class="mx-2" />
|
||||
<v-card-text class="mt-n5 pt-6 pb-2">
|
||||
<RecipeSettingsSwitches
|
||||
v-model="modelValue"
|
||||
v-model="value"
|
||||
:is-owner="isOwner"
|
||||
/>
|
||||
</v-card-text>
|
||||
|
@ -42,7 +42,7 @@ import RecipeSettingsSwitches from "./RecipeSettingsSwitches.vue";
|
|||
export default defineNuxtComponent({
|
||||
components: { RecipeSettingsSwitches },
|
||||
props: {
|
||||
modelValue: {
|
||||
value: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
v-for="(_, key) in modelValue"
|
||||
:key="key"
|
||||
v-model="modelValue[key]"
|
||||
color="primary"
|
||||
xs
|
||||
density="compact"
|
||||
:disabled="key == 'locked' && !isOwner"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue