diff --git a/web/app/components/app/configuration/dataset-config/select-dataset/index.tsx b/web/app/components/app/configuration/dataset-config/select-dataset/index.tsx index ffdb714f08..99dc32dfa2 100644 --- a/web/app/components/app/configuration/dataset-config/select-dataset/index.tsx +++ b/web/app/components/app/configuration/dataset-config/select-dataset/index.tsx @@ -5,7 +5,6 @@ import { useGetState, useInfiniteScroll } from 'ahooks' import { useTranslation } from 'react-i18next' import Link from 'next/link' import produce from 'immer' -import TypeIcon from '../type-icon' import Modal from '@/app/components/base/modal' import type { DataSet } from '@/models/datasets' import Button from '@/app/components/base/button' @@ -15,6 +14,7 @@ import Badge from '@/app/components/base/badge' import { useKnowledge } from '@/hooks/use-knowledge' import cn from '@/utils/classnames' import { basePath } from '@/utils/var' +import AppIcon from '@/app/components/base/app-icon' export type ISelectDataSetProps = { isShow: boolean @@ -91,6 +91,7 @@ const SelectDataSet: FC = ({ const handleSelect = () => { onSelect(selected) } + return ( = ({ >
- +
{item.name}
{!item.embedding_available && (