From ca931ac55ea7615bdc37e245e5353351ce94f5a8 Mon Sep 17 00:00:00 2001 From: Soni Jay Date: Sun, 21 Sep 2025 19:55:15 +0530 Subject: [PATCH] WEB-92 Click on GSIM application in GSIM application list causes Javascript error (#2668) --- src/app/core/shell/breadcrumb/breadcrumb.component.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/app/core/shell/breadcrumb/breadcrumb.component.ts b/src/app/core/shell/breadcrumb/breadcrumb.component.ts index d8c45c515..68deadc12 100644 --- a/src/app/core/shell/breadcrumb/breadcrumb.component.ts +++ b/src/app/core/shell/breadcrumb/breadcrumb.component.ts @@ -141,11 +141,9 @@ export class BreadcrumbComponent implements AfterViewInit { routeData.loanDetailsData.accountNo + ')'; } else if (routeData.breadcrumb === 'Savings') { - breadcrumbLabel = - this.printableValue(routeData.savingsAccountData.savingsProductName) + - ' (' + - routeData.savingsAccountData.accountNo + - ')'; + const savingsProductName = routeData.savingsAccountData?.savingsProductName ?? ''; + const accountNo = routeData.savingsAccountData?.accountNo ?? ''; + breadcrumbLabel = this.printableValue(savingsProductName) + (accountNo ? ' (' + accountNo + ')' : ''); } else if (routeData.breadcrumb === 'Fixed Deposits') { breadcrumbLabel = this.printableValue(routeData.fixedDepositsAccountData.depositProductName) +