mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
13 lines
313 B
JavaScript
13 lines
313 B
JavaScript
import { service } from "@ember/service";
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class ChatChannelThreads extends DiscourseRoute {
|
|
@service chat;
|
|
@service chatStateManager;
|
|
|
|
activate() {
|
|
this.chat.activeChannel = null;
|
|
this.chatStateManager.closeSidePanel();
|
|
}
|
|
}
|