From 3c84382e45847556856861a07ab20523b93186ed Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Wed, 21 Apr 2021 15:52:09 +0200 Subject: [PATCH] remove beforeDestroy as noone can say what is it for --- frontend/src/views/Layout/DashboardNavbar.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend/src/views/Layout/DashboardNavbar.vue b/frontend/src/views/Layout/DashboardNavbar.vue index 751e947b4..7b0964f2c 100755 --- a/frontend/src/views/Layout/DashboardNavbar.vue +++ b/frontend/src/views/Layout/DashboardNavbar.vue @@ -70,10 +70,5 @@ export default { this.$router.push('/login') }, }, - beforeDestroy() { - if (this.$sidebar.showSidebar) { - this.$sidebar.showSidebar = false - } - }, }