From 40f9d2213f345d9f4eee457737935c779624a77c Mon Sep 17 00:00:00 2001 From: Christian Lopez Date: Thu, 13 May 2021 15:56:55 -0400 Subject: [PATCH] Replace removed hasDiscussions method from DiscussionListPane (#2860) --- framework/core/js/src/forum/components/DiscussionListPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/src/forum/components/DiscussionListPane.js b/framework/core/js/src/forum/components/DiscussionListPane.js index f764c21f5..50ccc2bfc 100644 --- a/framework/core/js/src/forum/components/DiscussionListPane.js +++ b/framework/core/js/src/forum/components/DiscussionListPane.js @@ -17,7 +17,7 @@ const hotEdge = (e) => { */ export default class DiscussionListPane extends Component { view() { - if (!this.attrs.state.hasDiscussions()) { + if (!this.attrs.state.hasItems()) { return; }