From bb45f646dce1fb14ef28b76dccbbcc4c8d852c29 Mon Sep 17 00:00:00 2001 From: twwu Date: Sat, 8 Feb 2025 11:52:57 +0800 Subject: [PATCH] feat: enhance styling and add history icon to dataset components --- .../datasets/create/embedding-process/index.tsx | 2 +- web/app/components/datasets/hit-testing/index.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/app/components/datasets/create/embedding-process/index.tsx b/web/app/components/datasets/create/embedding-process/index.tsx index dcb42ed91bff93..65de2c33e4d579 100644 --- a/web/app/components/datasets/create/embedding-process/index.tsx +++ b/web/app/components/datasets/create/embedding-process/index.tsx @@ -314,7 +314,7 @@ const EmbeddingProcess: FC = ({ datasetId, batchId, documents = [], index } {isSourceEmbedding(indexingStatusDetail) && ( -
{`${getSourcePercent(indexingStatusDetail)}%`}
+
{`${getSourcePercent(indexingStatusDetail)}%`}
)} {indexingStatusDetail.indexing_status === 'error' && ( { const { t } = useTranslation() - return
-
-
+ return
+
+
-
{t('datasetHitTesting.noRecentTip')}
+
{t('datasetHitTesting.noRecentTip')}
}