diff --git a/projects/app/src/components/core/app/DatasetSelectModal.tsx b/projects/app/src/components/core/app/DatasetSelectModal.tsx index 6c4d0eeeb22..66c4b44e322 100644 --- a/projects/app/src/components/core/app/DatasetSelectModal.tsx +++ b/projects/app/src/components/core/app/DatasetSelectModal.tsx @@ -85,7 +85,7 @@ export const DatasetSelectModal = ({ bg={'primary.200'} > - + {item.name} @@ -162,8 +162,8 @@ export const DatasetSelectModal = ({ w={0} className="textEllipsis" ml={3} - fontWeight={'bold'} - fontSize={['md', 'lg']} + fontSize={'md'} + color={'myGray.900'} > {item.name} diff --git a/projects/app/src/pages/app/detail/components/SimpleEdit/EditForm.tsx b/projects/app/src/pages/app/detail/components/SimpleEdit/EditForm.tsx index 6b8ec249bdb..6049ca6864e 100644 --- a/projects/app/src/pages/app/detail/components/SimpleEdit/EditForm.tsx +++ b/projects/app/src/pages/app/detail/components/SimpleEdit/EditForm.tsx @@ -97,15 +97,15 @@ const EditForm = ({ () => allDatasets.filter((item) => datasets.find((dataset) => dataset.datasetId === item._id)), [allDatasets, datasets] ); - useEffect(() => { - if (selectDatasets.length !== datasets.length) { - replaceDatasetList( - selectDatasets.map((item) => ({ - datasetId: item._id - })) - ); - } - }, [datasets, replaceDatasetList, selectDatasets]); + // useEffect(() => { + // if (selectDatasets.length !== datasets.length) { + // replaceDatasetList( + // selectDatasets.map((item) => ({ + // datasetId: item._id + // })) + // ); + // } + // }, [datasets, replaceDatasetList, selectDatasets]); const { isOpen: isOpenDatasetSelect, diff --git a/projects/app/src/pages/dataset/list/index.tsx b/projects/app/src/pages/dataset/list/index.tsx index ab7ee695ec8..116b18beb92 100644 --- a/projects/app/src/pages/dataset/list/index.tsx +++ b/projects/app/src/pages/dataset/list/index.tsx @@ -298,7 +298,6 @@ const Dataset = () => { }} >