ModalManager: Fix issue when app.current is not defined (#1530)

This commit is contained in:
David Sevilla Martín 2018-08-13 17:03:39 -04:00 committed by Toby Zerner
parent 7d5c4ad100
commit d748864d26

View File

@ -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);