discourse/plugins/chat/assets/javascripts
Jarek Radosz a1b35601fc
FIX: Improve chat route cleanup (#20557)
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
2023-04-26 18:18:23 +02:00
..
discourse FIX: Improve chat route cleanup (#20557) 2023-04-26 18:18:23 +02:00
lib/discourse-markdown UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00