From 120c91e6987ada0b673e131fb4adb3183f2a1269 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 25 Sep 2024 20:45:08 +0200 Subject: [PATCH] auto close sidebar on mobile --- package-lock.json | 1 + package.json | 1 + src/components/NavigationGroceryListItem.vue | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/package-lock.json b/package-lock.json index 21b23f0..eb7cf58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@melmacaluso/vue-modal": "^2.1.0", "@nextcloud/axios": "^2.5.1", "@nextcloud/dialogs": "^5.3.7", + "@nextcloud/event-bus": "^3.3.1", "@nextcloud/router": "^3.0.0", "@nextcloud/vue": "8.19.0", "pinia": "^2.1.7", diff --git a/package.json b/package.json index 9991cf0..28ad925 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@melmacaluso/vue-modal": "^2.1.0", "@nextcloud/axios": "^2.5.1", "@nextcloud/dialogs": "^5.3.7", + "@nextcloud/event-bus": "^3.3.1", "@nextcloud/router": "^3.0.0", "@nextcloud/vue": "8.19.0", "pinia": "^2.1.7", diff --git a/src/components/NavigationGroceryListItem.vue b/src/components/NavigationGroceryListItem.vue index 9008014..75f5b6d 100644 --- a/src/components/NavigationGroceryListItem.vue +++ b/src/components/NavigationGroceryListItem.vue @@ -25,6 +25,7 @@