Skip to content

Commit

Permalink
feat:CE-835-Remove-rule-for-closing-a-complaint (#485)
Browse files Browse the repository at this point in the history
Co-authored-by: afwilcox <[email protected]>
  • Loading branch information
dmitri-korin-bcps and afwilcox authored Jun 25, 2024
1 parent 7dcba36 commit 6938e7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ export const HWCRComplaintAssessment: FC = () => {

dispatch(upsertAssessment(id, updatedAssessmentData));
setEditable(false);
dispatch(setIsInEdit({ showSectionErrors: false }));
} else {
handleFormErrors();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ export const ChangeStatusModal: FC<ChangeStatusModalProps> = ({ close, submit, c
if (
noEditSections &&
assessmentCriteria &&
preventionCriteria &&
//The code line below commented becasue according to CE-835
//users can close a complaint when Action required is Yes and the Prevention and education section is not completed.
//preventionCriteria &&
equipmentCriteria &&
animalCriteria &&
fileReviewCriteria
Expand Down

0 comments on commit 6938e7c

Please sign in to comment.