1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Fix regression introduced by #1543

The Page component's config method wasn't being called, therefore the
bodyClass would not be applied.
This commit is contained in:
Toby Zerner
2018-09-21 11:17:54 +09:30
parent 52b5bdcf4e
commit c27c968837

View File

@@ -115,7 +115,9 @@ export default class DiscussionPage extends Page {
);
}
config() {
config(...args) {
super.config(...args);
if (this.discussion) {
app.setTitle(this.discussion.title());
}