fix #12: add an option to hide the opener and the panel when there is no application

This commit is contained in:
Simon Vieille
2020-04-29 09:03:03 +02:00
parent 76ecd6aeaa
commit 4146e9c2a1
6 changed files with 42 additions and 19 deletions
+5 -1
View File
@@ -66,7 +66,11 @@ export default {
}
}
jQuery('body').trigger('side-menu.apps', [this.apps])
(function(apps) {
window.setTimeout(function() {
jQuery('body').trigger('side-menu.apps', [apps])
}, 1000)
})(this.apps)
},
retrieveLogo() {
const ncLogo = document.querySelector('#nextcloud .logo')