mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 16:26:13 +08:00
hasDiscussions
method of DiscussionListState has been removed
This commit is contained in:
parent
c3a684c7ed
commit
422525a9bb
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user