3
0

Fix sidebar closing when going to new route

This commit is contained in:
Jože Fortun
2024-03-21 13:35:24 +01:00
parent 31e6f4273d
commit 0bb06753db
3 changed files with 3 additions and 3 deletions
@@ -101,7 +101,7 @@
v-if="!navItems.length"
class="d-flex justify-content-center mt-5"
>
{{ $t('noPages') }}
{{ $t('noResults') }}
</div>
</div>
@@ -253,7 +253,7 @@ export default {
if (this.disabledRoutes.includes(this.$route.name)) {
this.isPinned = false
this.isExpanded = false
} else if (this.expandOnHover){
} else if (this.expandOnHover && !this.isExpanded) {
this.defaultSidebarAppearance()
}
},
@@ -2,7 +2,7 @@ adminPanel: Admin panel
chart: Charts
manageNamespaces: Manage namespaces
module: Modules
noPages: No pages
noResults: No results
page: Pages
pickNamespace: Select a namespace
publicPages: Public pages