1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

Remove logic out of notification content scripts

This commit is contained in:
Daniel James Smith
2021-10-18 16:42:32 +02:00
parent fd8de4ca0c
commit 95e9387314
3 changed files with 20 additions and 27 deletions

View File

@@ -22,6 +22,13 @@ window.addEventListener('message', event => {
}, false);
chrome.runtime.onMessage.addListener(event => {
if (event.command === 'promptForLogin') {
chrome.runtime.sendMessage(event);
}
if (event.command === 'addToLockedVaultPendingNotifications') {
chrome.runtime.sendMessage(event);
}
if (event.command === 'unlockCompleted') {
chrome.runtime.sendMessage(event);