mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-19 11:15:21 +01:00
Fixed formatting
This commit is contained in:
parent
fd9455873d
commit
39a189e7b3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user