From 72b585fb87e5213b7bf8f3b0e1283f8f9eaeee7f Mon Sep 17 00:00:00 2001 From: Daniel Riera Date: Mon, 5 May 2025 17:32:08 -0400 Subject: [PATCH] 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 --- .../src/autofill/background/notification.background.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/browser/src/autofill/background/notification.background.ts b/apps/browser/src/autofill/background/notification.background.ts index 339b033809d..c70b18c3ca8 100644 --- a/apps/browser/src/autofill/background/notification.background.ts +++ b/apps/browser/src/autofill/background/notification.background.ts @@ -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;