From 97509f725d5ea46411bc0f8098f64193726b9fc5 Mon Sep 17 00:00:00 2001 From: jng Date: Fri, 15 Aug 2025 14:10:25 -0400 Subject: [PATCH] fix undefined lint error in at risk password callout --- .../at-risk-callout/at-risk-password-callout.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/vault/popup/components/at-risk-callout/at-risk-password-callout.component.ts b/apps/browser/src/vault/popup/components/at-risk-callout/at-risk-password-callout.component.ts index a52d0ff1079..07665925c94 100644 --- a/apps/browser/src/vault/popup/components/at-risk-callout/at-risk-password-callout.component.ts +++ b/apps/browser/src/vault/popup/components/at-risk-callout/at-risk-password-callout.component.ts @@ -90,7 +90,7 @@ export class AtRiskPasswordCalloutComponent { } // If user has pending tasks set state hadPendingTasks to true - if (this.currentPendingTasks()?.length > 0) { + if ((this.currentPendingTasks()?.length ?? 0) > 0) { const updateObject: AtRiskPasswordCalloutData = { hadPendingTasks: true, showTasksCompleteBanner: false,