From 98ada405321a6cff85dc98904db93de4a88113b1 Mon Sep 17 00:00:00 2001 From: Wu Tianwei <30284043+WTW0313@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:06:41 +0800 Subject: [PATCH] fix: improve layout in dataset selection component (#14756) --- .../configuration/dataset-config/select-dataset/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ad012a7d94..9a31435c9c 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 @@ -132,11 +132,11 @@ const SelectDataSet: FC = ({ toggleSelect(item) }} > -
+
-
{item.name}
+
{item.name}
{!item.embedding_available && ( {t('dataset.unavailable')} )} @@ -144,13 +144,14 @@ const SelectDataSet: FC = ({ { item.indexing_technique && ( ) } { item.provider === 'external' && ( - + ) }