balibabu commited on
Commit
24ea1d7
·
1 Parent(s): 3301d99

feat: Show chat tab #2247 (#2307)

Browse files

### 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 CHANGED
@@ -9,7 +9,7 @@ import { useLocation } from 'umi';
9
  import Toolbar from '../right-toolbar';
10
 
11
  import { useFetchAppConf } from '@/hooks/logic-hooks';
12
- import { SearchOutlined } from '@ant-design/icons';
13
  import styles from './index.less';
14
 
15
  const { Header } = Layout;
@@ -26,8 +26,8 @@ const RagHeader = () => {
26
  const tagsData = useMemo(
27
  () => [
28
  { path: '/knowledge', name: t('knowledgeBase'), icon: KnowledgeBaseIcon },
29
- // { path: '/chat', name: t('chat'), icon: MessageOutlined },
30
- { path: '/search', name: t('search'), icon: SearchOutlined },
31
  { path: '/flow', name: t('flow'), icon: GraphIcon },
32
  { path: '/file', name: t('fileManager'), icon: FileIcon },
33
  ],
 
9
  import Toolbar from '../right-toolbar';
10
 
11
  import { useFetchAppConf } from '@/hooks/logic-hooks';
12
+ import { MessageOutlined } from '@ant-design/icons';
13
  import styles from './index.less';
14
 
15
  const { Header } = Layout;
 
26
  const tagsData = useMemo(
27
  () => [
28
  { path: '/knowledge', name: t('knowledgeBase'), icon: KnowledgeBaseIcon },
29
+ { path: '/chat', name: t('chat'), icon: MessageOutlined },
30
+ // { path: '/search', name: t('search'), icon: SearchOutlined },
31
  { path: '/flow', name: t('flow'), icon: GraphIcon },
32
  { path: '/file', name: t('fileManager'), icon: FileIcon },
33
  ],