mirror of
https://github.com/flarum/core.git
synced 2025-10-14 00:15:51 +02:00
Show composer after discussion is reloaded following login
This commit is contained in:
@@ -11,8 +11,10 @@ import LoadingIndicator from 'flarum/components/loading-indicator';
|
||||
import DropdownSplit from 'flarum/components/dropdown-split';
|
||||
import Separator from 'flarum/components/separator';
|
||||
import listItems from 'flarum/helpers/list-items';
|
||||
import mixin from 'flarum/utils/mixin';
|
||||
import evented from 'flarum/utils/evented';
|
||||
|
||||
export default class DiscussionPage extends Component {
|
||||
export default class DiscussionPage extends mixin(Component, evented) {
|
||||
/**
|
||||
|
||||
*/
|
||||
@@ -102,6 +104,8 @@ export default class DiscussionPage extends Component {
|
||||
this.streamContent.goToNumber(this.currentNear, true);
|
||||
|
||||
app.setTitle(discussion.title());
|
||||
|
||||
this.trigger('loaded');
|
||||
}
|
||||
|
||||
onload(element, isInitialized, context) {
|
||||
|
Reference in New Issue
Block a user