mirror of
https://github.com/flarum/framework.git
synced 2025-04-24 21:54:04 +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
93dfb6dec9
commit
6c8c525e57
@ -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