From 879f9f092b587fac7f6b62138b8867502fda62f1 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 30 Oct 2024 18:33:16 +0100 Subject: [PATCH] fix op menu labels (fix #368) --- src/AppMenu.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/AppMenu.vue b/src/AppMenu.vue index f75bac1..9558eb5 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -110,14 +110,16 @@ export default defineComponent({ mounted() { axios.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json') .then((response) => response.data) - .then((data) => { + .then((data) => { if (data.ocs.meta.statuscode !== 200) { return } this.setApps(data.ocs.data) - }) + }) + this.targetBlankApps = window.targetBlankApps + this.hiddenLabels = window.topMenuAppsMouseOverHiddenLabel let timeout = null window.addEventListener('resize', () => {