mirror of
https://github.com/flarum/core.git
synced 2025-07-12 20:36:28 +02:00
Add an API to show a count in the document title
This commit is contained in:
@ -184,6 +184,7 @@ export default class DiscussionPage extends mixin(Component, evented) {
|
||||
this.discussion = discussion;
|
||||
|
||||
app.setTitle(discussion.title());
|
||||
app.setTitleCount(0);
|
||||
|
||||
// When the API responds with a discussion, it will also include a number of
|
||||
// posts. Some of these posts are included because they are on the first
|
||||
|
Reference in New Issue
Block a user