From 88df26d722aa0c0eb3da1c69389bcd1630be92da 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) --- js/src/forum/components/DiscussionListPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/components/DiscussionListPane.js b/js/src/forum/components/DiscussionListPane.js index f764c21f5..50ccc2bfc 100644 --- a/js/src/forum/components/DiscussionListPane.js +++ b/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; }