From c843d7544f4f32b34353a1a4bfb2c627335ba40e Mon Sep 17 00:00:00 2001 From: ekachxaidze98 Date: Wed, 11 Dec 2024 16:45:13 +0400 Subject: [PATCH] CORE-5076: add videp --- components/pdf-upload/sdgUploadSuccess.jsx | 29 ++++++++++-------- components/pdf-upload/styles.module.scss | 34 ++++++++++++++++++---- templates/sdg/index.jsx | 4 +-- 3 files changed, 47 insertions(+), 20 deletions(-) diff --git a/components/pdf-upload/sdgUploadSuccess.jsx b/components/pdf-upload/sdgUploadSuccess.jsx index 9ddefd5a..23da91bf 100644 --- a/components/pdf-upload/sdgUploadSuccess.jsx +++ b/components/pdf-upload/sdgUploadSuccess.jsx @@ -40,19 +40,24 @@ const SdgUploadSuccess = ({
{text.upload.sdgSuccess.description} - {uploadResults.map((item) => { - const sdgType = sdgTypes.find( - (type) => type.id === item.predictions - ) - return ( -
-
- {sdgType.title} +
+ {uploadResults.map((item) => { + const sdgType = sdgTypes.find( + (type) => type.id === item.predictions + ) + return ( +
+
+ {sdgType.title} +
+
+ {item.confidence_score} +
+
(confidence)
-
{item.confidence_score}
-
- ) - })} + ) + })} +
{