1
0
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:
Toby Zerner
2015-07-22 09:51:41 +09:30
parent d0c8777430
commit 9af141ce0b
5 changed files with 6 additions and 1 deletions

View File

@@ -48,6 +48,8 @@ export default class IndexPage extends Component {
app.history.push('index');
app.current = this;
app.drawer.hide();
app.modal.close();
}
onunload() {