[PM-8833] Fixing issue that exists when user does not contain identity or card ciphers
This commit is contained in:
parent
f38840eb24
commit
f5a0e95461
|
@ -423,6 +423,10 @@ export class OverlayBackground implements OverlayBackgroundInterface {
|
||||||
CipherType.Identity,
|
CipherType.Identity,
|
||||||
])
|
])
|
||||||
).sort((a, b) => this.cipherService.sortCiphersByLastUsedThenName(a, b));
|
).sort((a, b) => this.cipherService.sortCiphersByLastUsedThenName(a, b));
|
||||||
|
if (!this.cardAndIdentityCiphers) {
|
||||||
|
return cipherViews;
|
||||||
|
}
|
||||||
|
|
||||||
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 (
|
||||||
|
|
Loading…
Reference in New Issue