Merge pull request 'fix top menu labels (fix #368)' (#371) from bugfix/issue368-top-menu-labels into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/371
This commit is contained in:
+4
-2
@@ -110,14 +110,16 @@ export default defineComponent({
|
|||||||
mounted() {
|
mounted() {
|
||||||
axios.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json')
|
axios.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json')
|
||||||
.then((response) => response.data)
|
.then((response) => response.data)
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
if (data.ocs.meta.statuscode !== 200) {
|
if (data.ocs.meta.statuscode !== 200) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setApps(data.ocs.data)
|
this.setApps(data.ocs.data)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
this.targetBlankApps = window.targetBlankApps
|
||||||
|
this.hiddenLabels = window.topMenuAppsMouseOverHiddenLabel
|
||||||
let timeout = null
|
let timeout = null
|
||||||
|
|
||||||
window.addEventListener('resize', () => {
|
window.addEventListener('resize', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user