From 39a189e7b3dfb24b049a684dd62346d6609c22d9 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Wed, 20 Oct 2021 17:49:58 +0200 Subject: [PATCH] Fixed formatting --- src/background/contextMenus.background.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/background/contextMenus.background.ts b/src/background/contextMenus.background.ts index f4b310e809e..9a29294d4f1 100644 --- a/src/background/contextMenus.background.ts +++ b/src/background/contextMenus.background.ts @@ -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); }