Skip to content

Commit

Permalink
feat: link to closed complaint and label changes
Browse files Browse the repository at this point in the history
  • Loading branch information
afwilcox committed Jan 2, 2025
1 parent b05ba71 commit 7ebdc31
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const LinkedComplaintList: FC<Props> = ({ linkedComplaintData }) => {
return (
<div className="comp-complaint-details-block">
<div>
<h2>Linked complaints</h2>
<h2>Duplicate complaints</h2>
</div>
<div>
{linkedComplaintData.map((data, index) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,6 @@ export const HWCRComplaintAssessment: FC<Props> = ({
} else if (selectedLinkedComplaint.value === id) {
setLinkedComplaintErrorMessage("Linked complaint cannot be the same as the current complaint.");
return true;
} else if (selectedLinkedComplaintStatus !== "OPEN") {
setLinkedComplaintErrorMessage("Linked complaint must be open");
return true;
}

if (!validationResults.canQuickCloseComplaint) {
Expand Down

0 comments on commit 7ebdc31

Please sign in to comment.