From b71e8ffa1f12708284118b31fa55ec819e9981d7 Mon Sep 17 00:00:00 2001
From: Michael Genson <71845777+michael-genson@users.noreply.github.com>
Date: Mon, 16 Jun 2025 21:05:55 +0000
Subject: [PATCH] fix settings menu
---
frontend/components/Domain/Recipe/RecipeSettingsMenu.vue | 4 ++--
frontend/components/Domain/Recipe/RecipeSettingsSwitches.vue | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/frontend/components/Domain/Recipe/RecipeSettingsMenu.vue b/frontend/components/Domain/Recipe/RecipeSettingsMenu.vue
index 80ee01c76..e521507f7 100644
--- a/frontend/components/Domain/Recipe/RecipeSettingsMenu.vue
+++ b/frontend/components/Domain/Recipe/RecipeSettingsMenu.vue
@@ -27,7 +27,7 @@
@@ -42,7 +42,7 @@ import RecipeSettingsSwitches from "./RecipeSettingsSwitches.vue";
export default defineNuxtComponent({
components: { RecipeSettingsSwitches },
props: {
- modelValue: {
+ value: {
type: Object,
required: true,
},
diff --git a/frontend/components/Domain/Recipe/RecipeSettingsSwitches.vue b/frontend/components/Domain/Recipe/RecipeSettingsSwitches.vue
index 191573bbd..0792478ec 100644
--- a/frontend/components/Domain/Recipe/RecipeSettingsSwitches.vue
+++ b/frontend/components/Domain/Recipe/RecipeSettingsSwitches.vue
@@ -4,6 +4,7 @@
v-for="(_, key) in modelValue"
:key="key"
v-model="modelValue[key]"
+ color="primary"
xs
density="compact"
:disabled="key == 'locked' && !isOwner"