mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 11:34:36 +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