Skip to content

Commit

Permalink
feat(splitTasks): additional entities feature count add to split task…
Browse files Browse the repository at this point in the history
…s section (#1906)
  • Loading branch information
NSUWAL123 authored Nov 22, 2024
1 parent 04a94b3 commit e424693
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/frontend/src/components/createnewproject/SplitTasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,17 @@ const SplitTasks = ({ flag, setGeojsonFile, customDataExtractUpload, additionalF
}}
errorMsg={errors.task_split_type}
/>
<div>
<p className="fmtm-text-gray-500 fmtm-mt-5">
<div className="fmtm-mt-5">
<p className="fmtm-text-gray-500">
Total number of features:{' '}
<span className="fmtm-font-bold">{dataExtractGeojson?.features?.length || 0}</span>
</p>
{additionalFeatureGeojson && (
<p className="fmtm-text-gray-500 fmtm-mt-1">
Total number of additional features:{' '}
<span className="fmtm-font-bold">{additionalFeatureGeojson?.features?.length || 0}</span>
</p>
)}
</div>
{splitTasksSelection === task_split_type.DIVIDE_ON_SQUARE && (
<>
Expand Down

0 comments on commit e424693

Please sign in to comment.