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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user