discourse/plugins/chat/test/javascripts/unit/services
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
..
chat-channel-info-route-origin-manager-test.js DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-drawer-size-test.js FEATURE: resizeable chat drawer (#20160) 2023-02-03 15:11:12 +01:00
chat-emoji-picker-manager-test.js DEV: Refactoring chat message actions for ChatMessage component usage in thread panel (#20756) 2023-04-06 15:19:52 +02:00
chat-guardian-test.js DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-state-manager-test.js FIX: Improve chat route cleanup (#20557) 2023-04-26 18:18:23 +02:00