mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 06:30:15 +08:00
3d5753c42b
Previously `this.chatService.appEvents.on( "chat:user-tracking-state-changed"...)` was registered on constructor and disabled on `willDestroy`. Constructor is evaluated only once, so when the section was collapsed and collapsed then the events were not observed anymore. didInsert allows evaluating code each time a component is rendered. |
||
---|---|---|
.. | ||
discourse | ||
lib/discourse-markdown |