Replace removed hasDiscussions method from DiscussionListPane (#2860)

This commit is contained in:
Christian Lopez 2021-05-13 15:56:55 -04:00 committed by GitHub
parent 7bceda976b
commit 88df26d722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}