mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
Replace removed hasDiscussions method from DiscussionListPane (#2860)
This commit is contained in:
parent
db4216eb47
commit
40f9d2213f
@ -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…
x
Reference in New Issue
Block a user