mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +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:
@@ -115,7 +115,9 @@ export default class DiscussionPage extends Page {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
config() {
|
config(...args) {
|
||||||
|
super.config(...args);
|
||||||
|
|
||||||
if (this.discussion) {
|
if (this.discussion) {
|
||||||
app.setTitle(this.discussion.title());
|
app.setTitle(this.discussion.title());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user