mirror of
https://github.com/flarum/core.git
synced 2025-07-12 20:36:28 +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:
@ -53,6 +53,8 @@ export default class DiscussionPage extends mixin(Component, evented) {
|
||||
// button.
|
||||
app.history.push('discussion');
|
||||
app.current = this;
|
||||
app.drawer.hide();
|
||||
app.modal.close();
|
||||
|
||||
app.session.on('loggedIn', this.loggedInHandler = this.refresh.bind(this));
|
||||
}
|
||||
|
Reference in New Issue
Block a user