Changed param of arrow function for check of CipherRepromptType
This commit is contained in:
parent
d448c402dc
commit
f3ed0329a8
|
@ -85,7 +85,7 @@ export default class ContextMenusBackground {
|
|||
let cipher: CipherView;
|
||||
if (id === this.noopCommandSuffix) {
|
||||
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 {
|
||||
const ciphers = await this.cipherService.getAllDecrypted();
|
||||
cipher = ciphers.find(c => c.id === id);
|
||||
|
|
Loading…
Reference in New Issue