From e30e5b99d13d2e8eb09add98a7d1409d091ef7d9 Mon Sep 17 00:00:00 2001
From: prachigarg19 <72646230+prachigarg19@users.noreply.github.com>
Date: Fri, 15 Mar 2024 18:28:00 +0530
Subject: [PATCH] feat: add coming soon label
---
public/static/locales/en/projectDetails.json | 3 ++-
src/temp/VegetationChangeDatabox/Dropdown.tsx | 19 ++++++++++++++-----
.../VegetationChangeDatabox.module.scss | 9 +++++++++
3 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/public/static/locales/en/projectDetails.json b/public/static/locales/en/projectDetails.json
index 7e438c7b61..7ee7b5dbb8 100644
--- a/public/static/locales/en/projectDetails.json
+++ b/public/static/locales/en/projectDetails.json
@@ -8,5 +8,6 @@
"speciesDensity": "Species Density",
"projectBegin": "Since project begin",
"avg": "Average",
- "tons": "tons"
+ "tons": "tons",
+ "comingSoon": "coming soon"
}
\ No newline at end of file
diff --git a/src/temp/VegetationChangeDatabox/Dropdown.tsx b/src/temp/VegetationChangeDatabox/Dropdown.tsx
index e6942f30da..c803804848 100644
--- a/src/temp/VegetationChangeDatabox/Dropdown.tsx
+++ b/src/temp/VegetationChangeDatabox/Dropdown.tsx
@@ -21,26 +21,32 @@ const Dropdown = ({ labelIcon, labelTitle, isOpen }: Props) => {
{
icon:
{option.title}
+{option.title}
+ {option.isFeaturePending && {t('comingSoon')}} +