From 095dce9a3e71053d436a3b5f0df140b0344f79ea Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Sun, 9 Aug 2020 22:50:04 -0400 Subject: [PATCH] Mount AlertManager in Application --- js/src/common/Application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();