From e4246936c7050c23a4bf2ad9db852b3a1e056f99 Mon Sep 17 00:00:00 2001 From: Nishit Suwal <81785002+NSUWAL123@users.noreply.github.com> Date: Fri, 22 Nov 2024 15:47:15 +0545 Subject: [PATCH] feat(splitTasks): additional entities feature count add to split tasks section (#1906) --- .../src/components/createnewproject/SplitTasks.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/createnewproject/SplitTasks.tsx b/src/frontend/src/components/createnewproject/SplitTasks.tsx index a8c8140083..ff18d20019 100644 --- a/src/frontend/src/components/createnewproject/SplitTasks.tsx +++ b/src/frontend/src/components/createnewproject/SplitTasks.tsx @@ -265,11 +265,17 @@ const SplitTasks = ({ flag, setGeojsonFile, customDataExtractUpload, additionalF }} errorMsg={errors.task_split_type} /> -
+
Total number of features:{' '} {dataExtractGeojson?.features?.length || 0}
+ {additionalFeatureGeojson && ( ++ Total number of additional features:{' '} + {additionalFeatureGeojson?.features?.length || 0} +
+ )}