diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index f0d0e0e..38526c5 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -7,17 +7,9 @@ when: branch: [master, develop, feature/*, fix/*, bugfix/*, translations] steps: - # "Install dependencies": - # image: node:20 - # pull: true - # commands: - # - npm i - "Build JS": image: node:20 commands: - - make dep - - ls -l node_modules/@nextcloud/vue/dist/Components - make build "Build translations": diff --git a/CHANGELOG.md b/CHANGELOG.md index c5b79e0..80fe366 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## [Unreleased] +## 4.0.1 +### Fixed +* fix top menu labels (fix #368) +* fix #369: The menu is displayed even if there are no apps + ## 4.0.0 ### Added * add compatibility with NC30 diff --git a/appinfo/info.xml b/appinfo/info.xml index 9acc9f2..cf4cfbf 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -32,7 +32,7 @@ Notice Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**. In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/). ]]> - 4.0.0 + 4.0.1 agpl Simon Vieille SideMenu 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', () => { diff --git a/src/SideMenu.vue b/src/SideMenu.vue index 20c7163..2e8bfa3 100644 --- a/src/SideMenu.vue +++ b/src/SideMenu.vue @@ -39,7 +39,7 @@ along with this program. If not, see .