mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +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) {
|
if (this.discussion) {
|
||||||
app.setTitle(this.discussion.title());
|
app.setTitle(this.discussion.title());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user