[PM-8833] Fixing issue that exists when user does not contain identity or card ciphers
This commit is contained in:
parent
9853c2180d
commit
539207b73f
|
@ -426,7 +426,7 @@ export class OverlayBackground implements OverlayBackgroundInterface {
|
||||||
for (let cipherIndex = 0; cipherIndex < cipherViews.length; cipherIndex++) {
|
for (let cipherIndex = 0; cipherIndex < cipherViews.length; cipherIndex++) {
|
||||||
const cipherView = cipherViews[cipherIndex];
|
const cipherView = cipherViews[cipherIndex];
|
||||||
if (
|
if (
|
||||||
!this.cardAndIdentityCiphers.has(cipherView) &&
|
!this.cardAndIdentityCiphers?.has(cipherView) &&
|
||||||
[CipherType.Card, CipherType.Identity].includes(cipherView.type)
|
[CipherType.Card, CipherType.Identity].includes(cipherView.type)
|
||||||
) {
|
) {
|
||||||
this.cardAndIdentityCiphers.add(cipherView);
|
this.cardAndIdentityCiphers.add(cipherView);
|
||||||
|
|
Loading…
Reference in New Issue