diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json index 932a49bb3030..8b7a1f1187c3 100644 --- a/frontend/lang/messages/en-US.json +++ b/frontend/lang/messages/en-US.json @@ -142,6 +142,7 @@ "save": "Save", "settings": "Settings", "share": "Share", + "show-all": "Show All", "shuffle": "Shuffle", "sort": "Sort", "sort-alphabetically": "Alphabetical", diff --git a/frontend/lib/api/types/group.ts b/frontend/lib/api/types/group.ts index d8aa408fe018..f9bb8c9ece95 100644 --- a/frontend/lib/api/types/group.ts +++ b/frontend/lib/api/types/group.ts @@ -505,6 +505,7 @@ export interface ShoppingListOut { createdAt?: string; updateAt?: string; groupId: string; + userId: string; id: string; listItems?: ShoppingListItemOut[]; recipeReferences: ShoppingListRecipeRefOut[]; @@ -568,6 +569,7 @@ export interface ShoppingListSave { createdAt?: string; updateAt?: string; groupId: string; + userId: string; } export interface ShoppingListSummary { name?: string; @@ -577,6 +579,7 @@ export interface ShoppingListSummary { createdAt?: string; updateAt?: string; groupId: string; + userId: string; id: string; recipeReferences: ShoppingListRecipeRefOut[]; labelSettings: ShoppingListMultiPurposeLabelOut[]; @@ -589,6 +592,7 @@ export interface ShoppingListUpdate { createdAt?: string; updateAt?: string; groupId: string; + userId: string; id: string; listItems?: ShoppingListItemOut[]; } diff --git a/frontend/pages/shopping-lists/index.vue b/frontend/pages/shopping-lists/index.vue index ce128aaf92b2..6f20dca74281 100644 --- a/frontend/pages/shopping-lists/index.vue +++ b/frontend/pages/shopping-lists/index.vue @@ -15,10 +15,20 @@ - + + + + +
- + {{ $globals.icons.cartCheck }} @@ -56,6 +66,7 @@ export default defineComponent({ createDialog: false, deleteDialog: false, deleteTarget: "", + showAll: false, }); const shoppingLists = useAsync(async () => {