Skip to content

Commit

Permalink
fix(uploadArea): allow to reset polygon even if its a geojson file on…
Browse files Browse the repository at this point in the history
… draw option selection
  • Loading branch information
NSUWAL123 committed Jul 29, 2024
1 parent 9d08533 commit 76bf1d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const UploadArea = ({ flag, geojsonFile, setGeojsonFile, setCustomDataExtractUpl
type="button"
onClick={() => resetFile()}
className=""
disabled={drawnGeojson && !geojsonFile ? false : true}
disabled={drawnGeojson ? false : true}
/>
<p className="fmtm-text-gray-700 fmtm-mt-5">
Total Area: <span className="fmtm-font-bold">{totalAreaSelection}</span>
Expand Down

0 comments on commit 76bf1d5

Please sign in to comment.