forked from deblan/side_menu
fix op menu labels (fix #368)
This commit is contained in:
parent
6be15c269b
commit
879f9f092b
1 changed files with 4 additions and 2 deletions
|
|
@ -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', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue