Skip to content

Commit

Permalink
feat(splitTasks): add total number of features on split tasks section (
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 authored Nov 13, 2024
1 parent a05c60b commit e004d26
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/frontend/src/components/createnewproject/SplitTasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,15 @@ const SplitTasks = ({ flag, setGeojsonFile, customDataExtractUpload, additionalF
}}
errorMsg={errors.task_split_type}
/>
<div>
<p className="fmtm-text-gray-500 fmtm-mt-5">
Total number of features:{' '}
<span className="fmtm-font-bold">
{(dataExtractGeojson?.features?.length || 0) +
(additionalFeatureGeojson?.features?.length || 0)}
</span>
</p>
</div>
{splitTasksSelection === task_split_type.DIVIDE_ON_SQUARE && (
<>
<div className="fmtm-mt-6 fmtm-flex fmtm-items-center fmtm-gap-4">
Expand Down

0 comments on commit e004d26

Please sign in to comment.