Merge pull request 'fix top menu labels (fix #368)' (#371) from bugfix/issue368-top-menu-labels into develop

Reviewed-on: deblan/side_menu#371
This commit is contained in:
Simon Vieille 2024-10-30 19:00:28 +01:00
commit 66716ec53b

View file

@ -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', () => {