diff --git a/lib/Controller/JsController.php b/lib/Controller/JsController.php index 2ba62ed..3abcdba 100644 --- a/lib/Controller/JsController.php +++ b/lib/Controller/JsController.php @@ -171,6 +171,10 @@ class JsController extends Controller 'avatar' => $avatar, 'top-menu-apps' => $topMenuApps, 'top-side-menu-apps' => $topSideMenuApps, + 'top-menu-mouse-over-hidden-label' => $this->config->getAppValueBool( + 'top-menu-mouse-over-hidden-label', + '0' + ), 'target-blank-apps' => $targetBlankApps, 'settings' => $settings, 'logo' => $this->themingDefaults->getLogo(), diff --git a/src/AppMenu.vue b/src/AppMenu.vue index eb9c10a..9251446 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -101,6 +101,7 @@ export default { }) this.targetBlankApps = window.targetBlankApps + this.hiddenLabels = window.topMenuAppsMouseOverHiddenLabel this.observer = new ResizeObserver(this.resize) this.observer.observe(this.$el) this.resize() diff --git a/templates/js/script.php b/templates/js/script.php index 2607866..3770873 100644 --- a/templates/js/script.php +++ b/templates/js/script.php @@ -27,6 +27,7 @@ if ($_['always-displayed']) { window.topMenuApps = window.topSideMenuApps = window.menuAppsOrder = + window.topMenuAppsMouseOverHiddenLabel = sideMenu.setAttribute('data-bigmenu', '1')