Skip to content

Commit 043287b

Browse files
author
Vishal
committed
Fixed Optional Actions
1 parent ad256df commit 043287b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/angular-sdk-components/src/lib/_components/infra/Containers/flow-container/flow-container.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,9 @@ export class FlowContainerComponent extends FlowContainerBaseComponent implement
457457

458458
showCaseMessages() {
459459
this.caseMessages$ = this.localizedVal(this.pConn$.getValue('caseMessages'), this.localeCategory);
460-
if (this.caseMessages$ || !this.hasAssignments()) {
460+
// caseMessages's behavior has changed in 24.2, and hence it doesn't let Optional Action work.
461+
// Changing the below condition for now. Was: (theCaseMessages || !hasAssignments())
462+
if (!this.hasAssignments()) {
461463
this.bHasCaseMessages$ = true;
462464
this.bShowConfirm = true;
463465
this.checkSvg$ = this.utils.getImageSrc('check', this.utils.getSDKStaticContentUrl());

0 commit comments

Comments
 (0)