From 422525a9bb7861585c956bc99caab6218586dfae Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Wed, 12 May 2021 19:41:28 -0400 Subject: [PATCH] `hasDiscussions` method of DiscussionListState has been removed --- js/src/forum/components/DiscussionPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/components/DiscussionPage.js b/js/src/forum/components/DiscussionPage.js index 183cadf1b..80d49e691 100644 --- a/js/src/forum/components/DiscussionPage.js +++ b/js/src/forum/components/DiscussionPage.js @@ -41,7 +41,7 @@ export default class DiscussionPage extends Page { // page, then we don't want Mithril to redraw the whole page – if it did, // then the pane would redraw which would be slow and would cause problems with // event handlers. - if (app.discussions.hasDiscussions()) { + if (app.discussions.hasItems()) { app.pane.enable(); app.pane.hide(); }