mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 00:23:13 +08:00
Replace removed hasDiscussions method from DiscussionListPane (#2860)
This commit is contained in:
parent
7bceda976b
commit
88df26d722
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user