diff --git a/client/web/compose/src/components/Namespaces/NamespaceSidebar.vue b/client/web/compose/src/components/Namespaces/NamespaceSidebar.vue index 950e67c60..b5fa9c94e 100644 --- a/client/web/compose/src/components/Namespaces/NamespaceSidebar.vue +++ b/client/web/compose/src/components/Namespaces/NamespaceSidebar.vue @@ -101,7 +101,7 @@ v-if="!navItems.length" class="d-flex justify-content-center mt-5" > - {{ $t('noPages') }} + {{ $t('noResults') }} diff --git a/lib/vue/src/components/navigation/CSidebar.vue b/lib/vue/src/components/navigation/CSidebar.vue index 280303eb1..18f9b4ab9 100644 --- a/lib/vue/src/components/navigation/CSidebar.vue +++ b/lib/vue/src/components/navigation/CSidebar.vue @@ -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() } }, diff --git a/locale/en/corteza-webapp-compose/sidebar.yaml b/locale/en/corteza-webapp-compose/sidebar.yaml index 7d81f4f6b..1ea49a908 100644 --- a/locale/en/corteza-webapp-compose/sidebar.yaml +++ b/locale/en/corteza-webapp-compose/sidebar.yaml @@ -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