mirror of
https://github.com/flarum/core.git
synced 2025-08-03 23:17:43 +02:00
ModalManager: Fix issue when app.current is not defined (#1530)
This commit is contained in:
committed by
Toby Zerner
parent
7d5c4ad100
commit
d748864d26
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user