Skip to content

Commit

Permalink
Merge pull request #203 from wri/feat/TM-921-hbf-new-fields
Browse files Browse the repository at this point in the history
[HOTFIX] [TM-921] Avoid polygon validations for project map inputs.
  • Loading branch information
roguenet committed May 23, 2024
2 parents f8fb2c5 + 96e5a13 commit 1338eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/elements/Inputs/Map/RHFMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const RHFMap = ({
editable
onError={onError}
additionalPolygonProperties={additionalPolygonProperties}
captureAdditionalPolygonProperties={!!entity}
captureAdditionalPolygonProperties={!!entity && entity.entityName !== "project"}
/>
</InputWrapper>
);
Expand Down

0 comments on commit 1338eef

Please sign in to comment.