From ea7005e8227e0e15c7e4eb2c5bdb4e79f22469bc Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sun, 18 Feb 2024 13:59:03 -0600 Subject: [PATCH] feat: Shopping List Editor Improvements (#3178) * modify new item factory to default to zero qty and use last isFood value * automatically set the label of an item when choosing a food * fix when switching to a food with no label * removed trivial type annotation * more lint * removed debug log --- .../Domain/ShoppingList/ShoppingListItemEditor.vue | 12 +++++++++++- frontend/pages/shopping-lists/_id.vue | 10 +++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/frontend/components/Domain/ShoppingList/ShoppingListItemEditor.vue b/frontend/components/Domain/ShoppingList/ShoppingListItemEditor.vue index f68c742e0abc..249e3f121b0e 100644 --- a/frontend/components/Domain/ShoppingList/ShoppingListItemEditor.vue +++ b/frontend/components/Domain/ShoppingList/ShoppingListItemEditor.vue @@ -95,7 +95,7 @@