mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
Replace removed hasDiscussions method from DiscussionListPane (#2860)
This commit is contained in:
@@ -17,7 +17,7 @@ const hotEdge = (e) => {
|
|||||||
*/
|
*/
|
||||||
export default class DiscussionListPane extends Component {
|
export default class DiscussionListPane extends Component {
|
||||||
view() {
|
view() {
|
||||||
if (!this.attrs.state.hasDiscussions()) {
|
if (!this.attrs.state.hasItems()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user