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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user