From bccd3f1dfa1af15bceec3cf8da2f3c1ea364f5b4 Mon Sep 17 00:00:00 2001 From: David Wheatley Date: Sun, 22 Aug 2021 23:46:34 +0100 Subject: [PATCH] fix: reference to undefined variable `discussion` --- framework/core/js/src/forum/components/DiscussionPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/src/forum/components/DiscussionPage.js b/framework/core/js/src/forum/components/DiscussionPage.js index cffc15ee6..6f4780b8e 100644 --- a/framework/core/js/src/forum/components/DiscussionPage.js +++ b/framework/core/js/src/forum/components/DiscussionPage.js @@ -140,7 +140,7 @@ export default class DiscussionPage extends Page { 'poststream',
{PostStream.component({ - discussion, + discussion: this.discussion, stream: this.stream, onPositionChange: this.positionChanged.bind(this), })}