From af79a751fb31a89cc877e2ee2ddc45ea598e27fe Mon Sep 17 00:00:00 2001 From: Brian Choromanski Date: Tue, 14 Apr 2026 11:58:07 -0400 Subject: [PATCH] fix: Admin settings checkboxes not updating (#7462) --- .../Domain/Group/GroupPreferencesEditor.vue | 6 ++++-- .../Domain/Household/HouseholdPreferencesEditor.vue | 13 ++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/frontend/app/components/Domain/Group/GroupPreferencesEditor.vue b/frontend/app/components/Domain/Group/GroupPreferencesEditor.vue index e00c163a3..5fdf51523 100644 --- a/frontend/app/components/Domain/Group/GroupPreferencesEditor.vue +++ b/frontend/app/components/Domain/Group/GroupPreferencesEditor.vue @@ -3,7 +3,7 @@
({ required: true }); +const local = reactive({ ...preferences.value }); +watch(local, (newVal) => { preferences.value = { ...newVal }; }); diff --git a/frontend/app/components/Domain/Household/HouseholdPreferencesEditor.vue b/frontend/app/components/Domain/Household/HouseholdPreferencesEditor.vue index 6c24e033a..dc3205cc6 100644 --- a/frontend/app/components/Domain/Household/HouseholdPreferencesEditor.vue +++ b/frontend/app/components/Domain/Household/HouseholdPreferencesEditor.vue @@ -2,7 +2,7 @@
- +

{{ $t("household.private-household-description") }} @@ -11,7 +11,7 @@

- +

{{ $t("household.lock-recipe-edits-from-other-households-description") }} @@ -20,7 +20,7 @@

- +

{{ p.description }}

@@ -61,6 +61,9 @@ import type { ReadHouseholdPreferences } from "~/lib/api/types/household"; const preferences = defineModel({ required: true }); +const local = reactive({ ...preferences.value }); +watch(local, (newVal) => { preferences.value = { ...newVal }; }); + const i18n = useI18n(); type Preference = {