From d8b32db8da1a5770e338000b255ed86495e1ed1a 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 | 112 +++++++++++-------- 3 files changed, 65 insertions(+), 49 deletions(-) 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..e893141 100644 --- a/src/components/NavigationGroceryListItem.vue +++ b/src/components/NavigationGroceryListItem.vue @@ -25,6 +25,7 @@