mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
Removed unneeded alert/info functionality from notificationBar
This commit is contained in:
@@ -431,18 +431,6 @@ document.addEventListener('DOMContentLoaded', event => {
|
||||
function closeExistingAndOpenBar(type: string, typeData: any) {
|
||||
let barPage = 'notification/bar.html';
|
||||
switch (type) {
|
||||
case 'info':
|
||||
barPage = barPage + '?info=' + typeData.text;
|
||||
break;
|
||||
case 'warning':
|
||||
barPage = barPage + '?warning=' + typeData.text;
|
||||
break;
|
||||
case 'error':
|
||||
barPage = barPage + '?error=' + typeData.text;
|
||||
break;
|
||||
case 'success':
|
||||
barPage = barPage + '?success=' + typeData.text;
|
||||
break;
|
||||
case 'add':
|
||||
barPage = barPage + '?add=1&isVaultLocked=' + typeData.isVaultLocked;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user