remove jquery from components

This commit is contained in:
Simon Vieille
2021-10-28 13:50:16 +02:00
parent 3b6b8ad54a
commit f26adb6ac1
4 changed files with 12 additions and 4 deletions
+3 -1
View File
@@ -128,7 +128,9 @@ export default {
(function(apps) {
window.setTimeout(function() {
jQuery('body').trigger('side-menu.apps', [apps])
document.querySelector('body').dispatchEvent(new CustomEvent('side-menu.apps', {
detail: {apps: apps},
}));
}, 1000)
})(this.apps)
},