1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00:00

Fixed formatting

This commit is contained in:
Daniel James Smith
2021-10-20 17:49:58 +02:00
parent fd9455873d
commit 39a189e7b3

View File

@@ -85,8 +85,7 @@ export default class ContextMenusBackground {
if (id === this.noopCommandSuffix) {
const ciphers = await this.cipherService.getAllDecryptedForUrl(tab.url);
cipher = ciphers.length > 0 ? ciphers[0] : null;
}
else {
} else {
const ciphers = await this.cipherService.getAllDecrypted();
cipher = ciphers.find(c => c.id === id);
}