From b75ece2fc817d05a45c43c2d15a47efa4c7a44a3 Mon Sep 17 00:00:00 2001 From: jableader Date: Sat, 1 Nov 2025 14:44:12 +1100 Subject: [PATCH] feat(ui): add Settings link to HouseholdSwitcher for discoverability --- src/components/HouseholdSwitcher.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/components/HouseholdSwitcher.vue b/src/components/HouseholdSwitcher.vue index 87802c0..62e7ee6 100644 --- a/src/components/HouseholdSwitcher.vue +++ b/src/components/HouseholdSwitcher.vue @@ -17,6 +17,12 @@ + + Settings + @@ -35,6 +41,14 @@ function toHousehold(slug: string) { if (enabled) return { name: 'mealplan', params: { householdSlug: slug } } return { name: 'mealplan' } } + +function toSettings() { + const slug = activeSlug.value + if (enabled && typeof slug === 'string' && slug.length > 0) { + return { name: 'household-settings', params: { householdSlug: slug } } + } + return { name: 'household-settings' } +}