diff --git a/src/AppMenu.vue b/src/AppMenu.vue index 20fc9db..8f043e8 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -33,6 +33,7 @@
@@ -75,6 +76,7 @@ export default { apps: null, appLimit: 0, observer: null, + targetBlankApps: [], } }, mounted() { @@ -93,6 +95,7 @@ export default { } }) + this.targetBlankApps = window.targetBlankApps 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 797f013..2607866 100644 --- a/templates/js/script.php +++ b/templates/js/script.php @@ -22,10 +22,10 @@ if ($_['always-displayed']) { const nextcloud = document.querySelector('#nextcloud') const isTouchDevice = window.matchMedia("(pointer: coarse)").matches - const targetBlankApps = + window.targetBlankApps = window.topMenuApps = - window.topSideMenuApps = + window.topSideMenuApps = window.menuAppsOrder =