Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Link complaints to any status and label changes #846

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading