-
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
Response added in the OnHold dropdown #4740
Conversation
@@ -1,46 +1,54 @@ | |||
import React, { useEffect, useState } from 'react'; | |||
import React, { useEffect, useState } from "react"; |
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.
Resolved conflicts for AttachmentModal.js
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
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.
Moved "previousState" to the top
_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.
Updated the onhold statelist based on previousState condition. If previousState == Response then include response else include CFR.
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 in the onhold list
No description provided.