diff --git a/js/src/common/Application.js b/js/src/common/Application.js index 34156ac71..dd14a75a3 100644 --- a/js/src/common/Application.js +++ b/js/src/common/Application.js @@ -191,7 +191,7 @@ export default class Application { mount(basePath = '') { // An object with a callable view property is used in order to pass arguments to the component; see https://mithril.js.org/mount.html m.mount(document.getElementById('modal'), { view: () => ModalManager.component({ state: this.modal }) }); - // m.mount(document.getElementById('alerts'), ); + m.mount(document.getElementById('alerts'), { view: () => AlertManager.component({ state: this.alerts }) }); this.drawer = new Drawer();