mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-23 15:19:41 +02:00
move showAll to user preferences
This commit is contained in:
parent
c9fdf862a3
commit
29368d9cc4
3 changed files with 12 additions and 6 deletions
|
@ -22,6 +22,7 @@ export interface UserRecipePreferences {
|
|||
}
|
||||
|
||||
export interface UserShoppingListPreferences {
|
||||
viewAllLists: boolean;
|
||||
viewByLabel: boolean;
|
||||
}
|
||||
|
||||
|
@ -70,6 +71,7 @@ export function useShoppingListPreferences(): Ref<UserShoppingListPreferences> {
|
|||
const fromStorage = useLocalStorage(
|
||||
"shopping-list-preferences",
|
||||
{
|
||||
viewAllLists: false,
|
||||
viewByLabel: false,
|
||||
},
|
||||
{ mergeDefaults: true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue