From 2c178451694d2206d98238c2361a78180b9dbb88 Mon Sep 17 00:00:00 2001 From: Philipp Fischbeck Date: Fri, 7 Jan 2022 22:09:34 +0100 Subject: [PATCH] Fix double click on sidebar on smaller screens (#906) The problem was that on smaller screens or when resizing, v-navigation-drawer would change its value on its own, but these changes were not propagated to AppSidebar. I also added a few missing type definitions for SidebarLinks. --- frontend/components/Layout/AppSidebar.vue | 38 +++++++++++++++-------- frontend/layouts/admin.vue | 6 ++-- frontend/types/application-types.ts | 4 ++- 3 files changed, 31 insertions(+), 17 deletions(-) diff --git a/frontend/components/Layout/AppSidebar.vue b/frontend/components/Layout/AppSidebar.vue index 1ce8879572c2..b8b0bdfeea39 100644 --- a/frontend/components/Layout/AppSidebar.vue +++ b/frontend/components/Layout/AppSidebar.vue @@ -1,5 +1,5 @@ - + - +