Skip to content

Commit

Permalink
Add composer mount to ForumApplication
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Aug 8, 2020
1 parent c6f1554 commit 9ab6c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/src/forum/ForumApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default class ForumApplication extends Application {
/*
* An object which controls the state of the composer.
*/
// composer = new ComposerState();
composer = new ComposerState();

constructor() {
super();
Expand Down Expand Up @@ -119,7 +119,7 @@ export default class ForumApplication extends Application {
m.mount(document.getElementById('header-navigation'), Navigation);
m.mount(document.getElementById('header-primary'), HeaderPrimary);
m.mount(document.getElementById('header-secondary'), HeaderSecondary);
// m.mount(document.getElementById('composer'), Composer.component({ state: this.composer }));
m.mount(document.getElementById('composer'), { view: () => Composer.component({ state: this.composer }) });

// this.pane = new Pane(document.getElementById('app'));

Expand Down

0 comments on commit 9ab6c2c

Please sign in to comment.