mirror of
https://github.com/flarum/core.git
synced 2025-07-19 15:51:16 +02:00
Hide the drawer/modal when constructing all pages
Might be better to do this on config... also extract it into a parent "Page" component
This commit is contained in:
@@ -48,6 +48,8 @@ export default class IndexPage extends Component {
|
||||
|
||||
app.history.push('index');
|
||||
app.current = this;
|
||||
app.drawer.hide();
|
||||
app.modal.close();
|
||||
}
|
||||
|
||||
onunload() {
|
||||
|
Reference in New Issue
Block a user