discourse/plugins/chat/test/javascripts/unit
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
..
helpers DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
lib DEV: Remove defunct TODOs (#19825) 2023-01-12 09:41:39 +10:00
services FIX: Improve chat route cleanup (#20557) 2023-04-26 18:18:23 +02:00