diff --git a/framework/core/js/src/forum/components/DiscussionPage.tsx b/framework/core/js/src/forum/components/DiscussionPage.tsx index 12d70726c3..1a1cff4a04 100644 --- a/framework/core/js/src/forum/components/DiscussionPage.tsx +++ b/framework/core/js/src/forum/components/DiscussionPage.tsx @@ -79,13 +79,21 @@ export default class DiscussionPage - -
{this.discussion ? this.pageContent().toArray() : this.loadingItems().toArray()}
- + view(): Mithril.Children { + return
{this.viewItems().toArray()}
; + } + + viewItems(): ItemList { + const items = new ItemList(); + + items.add('pane', , 100); + items.add( + 'discussions', +
{this.discussion ? this.pageContent().toArray() : this.loadingItems().toArray()}
, + 90 ); + + return items; } /**