mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
hasDiscussions
method of DiscussionListState has been removed
This commit is contained in:
@@ -41,7 +41,7 @@ export default class DiscussionPage extends Page {
|
||||
// page, then we don't want Mithril to redraw the whole page – if it did,
|
||||
// then the pane would redraw which would be slow and would cause problems with
|
||||
// event handlers.
|
||||
if (app.discussions.hasDiscussions()) {
|
||||
if (app.discussions.hasItems()) {
|
||||
app.pane.enable();
|
||||
app.pane.hide();
|
||||
}
|
||||
|
Reference in New Issue
Block a user