mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 14:26:12 +08:00
a1b35601fc
1. `this.chat.activeChannel = null` was being done in twice 2. using `willTransition()` and checking transition.to.name prefix for route cleanup rather than using `deactivate()` was unnecessarily verbose and could be premature (if something aborted the transition you'd end up in a broken state) 3. `activeChannel` on Chat service can be null, check for that before accessing |
||
---|---|---|
.. | ||
javascripts | ||
stylesheets |