From 2240ab01d2c9ef89a8db4ed6281d2cfb21139007 Mon Sep 17 00:00:00 2001 From: Cody Date: Fri, 25 Oct 2024 02:07:44 -0500 Subject: [PATCH] feat: Shopping list UI overhaul - collapsible labels (#4378) Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> --- frontend/pages/shopping-lists/_id.vue | 61 ++++++++++++++++++++++----- 1 file changed, 51 insertions(+), 10 deletions(-) diff --git a/frontend/pages/shopping-lists/_id.vue b/frontend/pages/shopping-lists/_id.vue index a86e4e719..f7ef70b9e 100644 --- a/frontend/pages/shopping-lists/_id.vue +++ b/frontend/pages/shopping-lists/_id.vue @@ -57,18 +57,22 @@
-
- - {{ key }} + @click="toggleShowLabel(key)" + > + + {{ labelOpenState[key] ? $globals.icons.chevronDown : $globals.icons.chevronRight }} + + {{ key }} -
- + + +
- + +
+
@@ -301,7 +307,7 @@