A platform for community discussion. Free, open, simple.
FIX: adds missing router service import (explicit) (#33756)
Yuriy Kurant477b4c216755
diff --git a/plugins/chat/assets/javascripts/discourse/routes/chat-channels.js b/plugins/chat/assets/javascripts/discourse/routes/chat-channels.jsindex a1c9cd5710c..00e9c52823d 100644--- a/plugins/chat/assets/javascripts/discourse/routes/chat-channels.js+++ b/plugins/chat/assets/javascripts/discourse/routes/chat-channels.js@@ -4,6 +4,7 @@ import DiscourseRoute from "discourse/routes/discourse";export default class ChatChannelsRoute extends DiscourseRoute {@service chat;@service chatChannelsManager;+ @service router;@service siteSettings;activate() {diff --git a/plugins/chat/assets/javascripts/discourse/routes/chat-direct-messages.js b/plugins/chat/assets/javascripts/discourse/routes/chat-direct-messages.jsindex ae303f95c8e..38a274fe80d 100644--- a/plugins/chat/assets/javascripts/discourse/routes/chat-direct-messages.js+++ b/plugins/chat/assets/javascripts/discourse/routes/chat-direct-messages.js@@ -4,6 +4,7 @@ import DiscourseRoute from "discourse/routes/discourse";export default class ChatDirectMessagesRoute extends DiscourseRoute {@service chat;@service chatChannelsManager;+ @service router;activate() {this.chat.activeChannel = null;