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

@ -29,6 +29,7 @@ export default class UserPage extends Component {
app.history.push('user');
app.current = this;
app.drawer.hide();
app.modal.close();
}
view() {