A platform for community discussion. Free, open, simple.
FIX: ensures side panel is closed (#24822)
Joffrey JAFFEUXa7a4aaa6b9ca
diff --git a/plugins/chat/assets/javascripts/discourse/routes/chat-threads.js b/plugins/chat/assets/javascripts/discourse/routes/chat-threads.jsindex fa720bcc825..6ce22e523de 100644--- a/plugins/chat/assets/javascripts/discourse/routes/chat-threads.js+++ b/plugins/chat/assets/javascripts/discourse/routes/chat-threads.js@@ -3,8 +3,10 @@ import DiscourseRoute from "discourse/routes/discourse";export default class ChatChannelThreads extends DiscourseRoute {@service chat;+ @service chatStateManager;activate() {this.chat.activeChannel = null;+ this.chatStateManager.closeSidePanel();}}