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

Fix for Response status to show in On-Hold list #4751

Merged
merged 8 commits into from
Nov 21, 2023
Merged

Fix for Response status to show in On-Hold list #4751

merged 8 commits into from
Nov 21, 2023

Conversation

divyav-aot
Copy link
Contributor

No description provided.

const personalIAO = !_isMinistryCoordinator && personalRequest;

const previousState =
stateTransition?.length > 0 && stateTransition[1]?.status;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

declared previousState in the top to check whether it is feeestimate or response. Based on that the onhold state list will be returned.

_state.status.toLowerCase() !==
StateEnum.response.name.toLowerCase()
);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed the logic of onhold state list based on previousState condition.

return _stateList.feeassessed;
case StateEnum.onhold.name.toLowerCase():
return _stateList.onhold;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed unnecessary case for onhold

onhold: [
{ status: "On Hold", isSelected: false },
{ status: "Call For Records", isSelected: false },
{ status: "Response", isSelected: false },
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added Response as part of OnHold list

Removed all logs from fee_service
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 23 Code Smells

No Coverage information No Coverage information
8.3% 8.3% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@divyav-aot divyav-aot merged commit a604811 into main Nov 21, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants