Skip to content

Commit b247ab0

Browse files
authored
Merge branch 'master' into fix/mywork
2 parents 5e65899 + ed57dea commit b247ab0

File tree

1 file changed

+3
-1
lines changed
  • packages/react-sdk-components/src/components/infra/Containers/FlowContainer

1 file changed

+3
-1
lines changed

packages/react-sdk-components/src/components/infra/Containers/FlowContainer/FlowContainer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)