From c27c968837ebec7bf7785e3b11720d2ab6bd19b1 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 21 Sep 2018 11:17:54 +0930 Subject: [PATCH] Fix regression introduced by #1543 The Page component's config method wasn't being called, therefore the bodyClass would not be applied. --- framework/core/js/src/forum/components/DiscussionPage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/core/js/src/forum/components/DiscussionPage.js b/framework/core/js/src/forum/components/DiscussionPage.js index edfda8523..247a622e8 100644 --- a/framework/core/js/src/forum/components/DiscussionPage.js +++ b/framework/core/js/src/forum/components/DiscussionPage.js @@ -115,7 +115,9 @@ export default class DiscussionPage extends Page { ); } - config() { + config(...args) { + super.config(...args); + if (this.discussion) { app.setTitle(this.discussion.title()); }