File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/react-sdk-components/src/components/infra/Containers/FlowContainer Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,9 @@ export const FlowContainer = (props: FlowContainerProps) => {
266266 // if have caseMessage show message and end
267267 const theCaseMessages = localizedVal ( thePConn . getValue ( 'caseMessages' , '' ) , localeCategory ) ; // 2nd arg empty string until typedefs properly allow optional
268268
269- if ( theCaseMessages || ! hasAssignments ( ) ) {
269+ // caseMessages's behavior has changed in 24.2, and hence it doesn't let Optional Action work.
270+ // Changing the below condition for now. Was: (theCaseMessages || !hasAssignments())
271+ if ( ! hasAssignments ( ) ) {
270272 // Temp fix for 8.7 change: confirmationNote no longer coming through in caseMessages$.
271273 // So, if we get here and caseMessages$ is empty, use default value in DX API response
272274 setCaseMessages ( theCaseMessages || localizedVal ( 'Thank you! The next step in this case has been routed appropriately.' , localeCategory ) ) ;
You can’t perform that action at this time.
0 commit comments