1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

Changed param of arrow function for check of CipherRepromptType

This commit is contained in:
Daniel James Smith 2021-11-09 09:43:11 +01:00
parent d448c402dc
commit f3ed0329a8
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726

View File

@ -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);