1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-19 10:54:00 +00:00

fix undefined lint error in at risk password callout

This commit is contained in:
jng
2025-08-15 14:10:25 -04:00
parent e6c4d1c641
commit 97509f725d

View File

@@ -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,