-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
added logs to test the paybc response
Response added in the OnHold dropdown
const personalIAO = !_isMinistryCoordinator && personalRequest; | ||
|
||
const previousState = | ||
stateTransition?.length > 0 && stateTransition[1]?.status; |
There was a problem hiding this comment.
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() | ||
); | ||
} |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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 }, |
There was a problem hiding this comment.
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
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
No description provided.