mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
hasDiscussions
method of DiscussionListState has been removed
This commit is contained in:
parent
12abec475f
commit
d0829bc3a4
|
@ -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