Skip to content

Commit

Permalink
restore original code
Browse files Browse the repository at this point in the history
  • Loading branch information
pachonjcl committed Nov 21, 2024
1 parent b038469 commit d3f9e5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/admin/components/extensive/Modal/ModalApprove.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,14 @@ const ModalApprove: FC<ModalApproveProps> = ({
const approved = checkCriteriaCanBeApproved(criteria as ValidationCriteria);
const status = polygon.status;

let returnObject = {
return {
id: polygon.poly_id,
checked: criteria?.checked,
name: polygon.poly_name ?? "Unnamed Polygon",
canBeApproved: approved,
failingCriterias,
status: status as StatusEnum
};
return returnObject;
})
);
}, [polygonList, criteriaDataParsed]);
Expand Down

0 comments on commit d3f9e5a

Please sign in to comment.