mirror of
https://github.com/flarum/framework.git
synced 2025-03-02 16:38:40 +08: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:
parent
52b5bdcf4e
commit
c27c968837
@ -115,7 +115,9 @@ export default class DiscussionPage extends Page {
|
||||
);
|
||||
}
|
||||
|
||||
config() {
|
||||
config(...args) {
|
||||
super.config(...args);
|
||||
|
||||
if (this.discussion) {
|
||||
app.setTitle(this.discussion.title());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user