diff --git a/apps/browser/src/autofill/background/overlay.background.ts b/apps/browser/src/autofill/background/overlay.background.ts index 05c5096302..8b38802bf3 100644 --- a/apps/browser/src/autofill/background/overlay.background.ts +++ b/apps/browser/src/autofill/background/overlay.background.ts @@ -426,7 +426,7 @@ export class OverlayBackground implements OverlayBackgroundInterface { for (let cipherIndex = 0; cipherIndex < cipherViews.length; cipherIndex++) { const cipherView = cipherViews[cipherIndex]; if ( - !this.cardAndIdentityCiphers.has(cipherView) && + !this.cardAndIdentityCiphers?.has(cipherView) && [CipherType.Card, CipherType.Identity].includes(cipherView.type) ) { this.cardAndIdentityCiphers.add(cipherView);