diff --git a/datacenter/app/datastores/page.tsx b/datacenter/app/datastores/page.tsx index bba7f9c23..d6f2e5469 100644 --- a/datacenter/app/datastores/page.tsx +++ b/datacenter/app/datastores/page.tsx @@ -4,6 +4,8 @@ import { useRouter } from 'next/navigation' import React, { useState, useEffect } from 'react' import { InboxOutlined } from '@ant-design/icons' import CheckCircleOutlinedIcon from '@mui/icons-material/CheckCircleOutlined' +import AddBoxOutlinedIcon from '@mui/icons-material/AddBoxOutlined'; +import ContentPasteSearchOutlinedIcon from '@mui/icons-material/ContentPasteSearchOutlined'; import type { UploadProps } from 'antd' import { message, Upload, Popover } from 'antd' import { @@ -108,29 +110,13 @@ const Index = () => { fetchData() }, []) return ( - <> - - - Knowledge Spaces - - - + { } }} > + setIsAddKnowledgeSpaceModalShow(true)} + >Space {knowledgeSpaceList.map((item: any, index: number) => ( { fontSize: '18px', marginBottom: '10px', fontWeight: 'bold', - }}>{item.name} + color: 'black' + }}>{item.name} { flexShrink: 0 }} > - {item.vector_type} - Vector + {item.vector_type} + Vector { flexShrink: 0 }} > - {item.owner} - Owner + {item.owner} + Owner { flexShrink: 0 }} > - {item.owner} - Docs + {item.docs || 0} + Docs @@ -560,7 +580,7 @@ const Index = () => { )} - + ) }