Skip to content

Commit

Permalink
Fix Optional Actions doesn't work (#224)
Browse files Browse the repository at this point in the history
Co-authored-by: Vishal <[email protected]>
  • Loading branch information
vishalshrm539 and Vishal authored Nov 8, 2024
1 parent 6a679da commit e02b7c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/FlowContainer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ class FlowContainer extends BridgeBase {
this.caseMessages = this.thePConn.getValue('caseMessages');
this.caseMessages = this.localizedVal(this.thePConn.getValue('caseMessages'), this.localeCategory);

if (this.caseMessages || !this.hasAssignments()) {
// caseMessages's behavior has changed in 24.2, and hence it doesn't let Optional Action work.
// Changing the below condition for now. Was: (theCaseMessages || !hasAssignments())
if (!this.hasAssignments()) {
this.bHasCaseMessages = true;

// Temp fix for 8.7 change: confirmationNote no longer coming through in caseMessages$.
Expand Down

0 comments on commit e02b7c0

Please sign in to comment.