mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:34:17 +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 |
||
---|---|---|
.. | ||
acceptance | ||
components | ||
helpers | ||
integration/components/user-menu | ||
unit | ||
widgets | ||
chat-fixtures.js |