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' } +}