From d748864d26059d6ebac77c268648866ff1b4f626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sevilla=20Mart=C3=ADn?= Date: Mon, 13 Aug 2018 17:03:39 -0400 Subject: [PATCH] ModalManager: Fix issue when app.current is not defined (#1530) --- framework/core/js/src/common/components/ModalManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/src/common/components/ModalManager.js b/framework/core/js/src/common/components/ModalManager.js index 788eb93d4..0453fa9d4 100644 --- a/framework/core/js/src/common/components/ModalManager.js +++ b/framework/core/js/src/common/components/ModalManager.js @@ -49,7 +49,7 @@ export default class ModalManager extends Component { this.showing = true; this.component = component; - app.current.retain = true; + if (app.current) app.current.retain = true; m.redraw(true);