1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-29 04:17:41 +02:00

Fixed formatting

This commit is contained in:
Daniel James Smith 2021-10-20 17:49:58 +02:00
parent fd9455873d
commit 39a189e7b3
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726

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