diff --git a/assets/javascripts/discourse/components/discourse-post-event/chat-channel.gjs b/assets/javascripts/discourse/components/discourse-post-event/chat-channel.gjs index 90668d0d..c1740da8 100644 --- a/assets/javascripts/discourse/components/discourse-post-event/chat-channel.gjs +++ b/assets/javascripts/discourse/components/discourse-post-event/chat-channel.gjs @@ -1,8 +1,13 @@ import { LinkTo } from "@ember/routing"; -import ChannelTitle from "discourse/plugins/chat/discourse/components/channel-title"; +import { and } from "truth-helpers"; +import { optionalRequire } from "discourse/lib/utilities"; + +const ChannelTitle = optionalRequire( + "discourse/plugins/chat/discourse/components/channel-title" +); const DiscoursePostEventChatChannel =