From 043287bd59b31a65b46278660e0afdc4cc5a2a6e Mon Sep 17 00:00:00 2001 From: Vishal Date: Fri, 29 Nov 2024 17:06:41 +0530 Subject: [PATCH] Fixed Optional Actions --- .../Containers/flow-container/flow-container.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/angular-sdk-components/src/lib/_components/infra/Containers/flow-container/flow-container.component.ts b/packages/angular-sdk-components/src/lib/_components/infra/Containers/flow-container/flow-container.component.ts index 3513a2e3..361e6833 100644 --- a/packages/angular-sdk-components/src/lib/_components/infra/Containers/flow-container/flow-container.component.ts +++ b/packages/angular-sdk-components/src/lib/_components/infra/Containers/flow-container/flow-container.component.ts @@ -457,7 +457,9 @@ export class FlowContainerComponent extends FlowContainerBaseComponent implement showCaseMessages() { this.caseMessages$ = this.localizedVal(this.pConn$.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; this.bShowConfirm = true; this.checkSvg$ = this.utils.getImageSrc('check', this.utils.getSDKStaticContentUrl());