mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
Fixed formatting
This commit is contained in:
@@ -85,8 +85,7 @@ export default class ContextMenusBackground {
|
|||||||
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.length > 0 ? ciphers[0] : null;
|
cipher = ciphers.length > 0 ? ciphers[0] : null;
|
||||||
}
|
} 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