fix settings menu

This commit is contained in:
Michael Genson 2025-06-16 21:05:55 +00:00
commit b71e8ffa1f
2 changed files with 3 additions and 2 deletions

View file

@ -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,
},

View file

@ -4,6 +4,7 @@
v-for="(_, key) in modelValue"
:key="key"
v-model="modelValue[key]"
color="primary"
xs
density="compact"
:disabled="key == 'locked' && !isOwner"