mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
fix: show telegram chat channel (#16125)
### What problem does this PR solve? Show Telegram in the chat channel picker alongside the existing Discord and Feishu entries. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -58,7 +58,12 @@ const ChatChannel = () => {
|
||||
const { chatChannelInfo } = useChatChannelInfo();
|
||||
const channelTemplates: IChatChannelInfo[] = Object.values(ChatChannelKey)
|
||||
.filter(
|
||||
(id) => [ChatChannelKey.DISCORD, ChatChannelKey.FEISHU].includes(id), // Show only Discord and Feishu
|
||||
(id) =>
|
||||
[
|
||||
ChatChannelKey.DISCORD,
|
||||
ChatChannelKey.FEISHU,
|
||||
ChatChannelKey.TELEGRAM,
|
||||
].includes(id), // Show only Discord and Feishu
|
||||
)
|
||||
.map((id) => ({
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user