From fe4b2bf969b1f55a3b8e5aabfdaa47c0a7e4d791 Mon Sep 17 00:00:00 2001 From: balibabu Date: Mon, 9 Sep 2024 10:04:22 +0800 Subject: [PATCH] feat: Show chat tab #2247 (#2307) ### What problem does this PR solve? feat: Show chat tab #2247 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/layouts/components/header/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/layouts/components/header/index.tsx b/web/src/layouts/components/header/index.tsx index 357fca80f..694840547 100644 --- a/web/src/layouts/components/header/index.tsx +++ b/web/src/layouts/components/header/index.tsx @@ -9,7 +9,7 @@ import { useLocation } from 'umi'; import Toolbar from '../right-toolbar'; import { useFetchAppConf } from '@/hooks/logic-hooks'; -import { SearchOutlined } from '@ant-design/icons'; +import { MessageOutlined } from '@ant-design/icons'; import styles from './index.less'; const { Header } = Layout; @@ -26,8 +26,8 @@ const RagHeader = () => { const tagsData = useMemo( () => [ { path: '/knowledge', name: t('knowledgeBase'), icon: KnowledgeBaseIcon }, - // { path: '/chat', name: t('chat'), icon: MessageOutlined }, - { path: '/search', name: t('search'), icon: SearchOutlined }, + { path: '/chat', name: t('chat'), icon: MessageOutlined }, + // { path: '/search', name: t('search'), icon: SearchOutlined }, { path: '/flow', name: t('flow'), icon: GraphIcon }, { path: '/file', name: t('fileManager'), icon: FileIcon }, ],