mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 05:13:29 +00:00
Pm 21068 defect when vault is locked the notification bar header is missing and the x button placed next to bitwarden shield icon (#14586)
* PM-21068 if notificationRefresh flag is enabled do not render unlock notification * remove testing bang
This commit is contained in:
@@ -542,10 +542,15 @@ export default class NotificationBackground {
|
||||
* @param tab - The tab that the message was sent from
|
||||
*/
|
||||
private async unlockVault(message: NotificationBackgroundExtensionMessage, tab: chrome.tabs.Tab) {
|
||||
const notificationRefreshFlagEnabled = await this.getNotificationFlag();
|
||||
if (message.data?.skipNotification) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (notificationRefreshFlagEnabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
const currentAuthStatus = await this.getAuthStatus();
|
||||
if (currentAuthStatus !== AuthenticationStatus.Locked || this.notificationQueue.length) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user