mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
Changed param of arrow function for check of CipherRepromptType
This commit is contained in:
@@ -85,7 +85,7 @@ export default class ContextMenusBackground {
|
|||||||
let cipher: CipherView;
|
let cipher: CipherView;
|
||||||
if (id === this.noopCommandSuffix) {
|
if (id === this.noopCommandSuffix) {
|
||||||
const ciphers = await this.cipherService.getAllDecryptedForUrl(tab.url);
|
const ciphers = await this.cipherService.getAllDecryptedForUrl(tab.url);
|
||||||
cipher = ciphers.find(x => x.reprompt === CipherRepromptType.None);
|
cipher = ciphers.find(c => c.reprompt === CipherRepromptType.None);
|
||||||
} else {
|
} else {
|
||||||
const ciphers = await this.cipherService.getAllDecrypted();
|
const ciphers = await this.cipherService.getAllDecrypted();
|
||||||
cipher = ciphers.find(c => c.id === id);
|
cipher = ciphers.find(c => c.id === id);
|
||||||
|
|||||||
Reference in New Issue
Block a user