From 82d6b26b180924a3182ce0a7ba61cdc5a1f7c10e Mon Sep 17 00:00:00 2001 From: Nick Krantz <125900171+nick-livefront@users.noreply.github.com> Date: Thu, 1 Aug 2024 16:11:52 -0500 Subject: [PATCH] [PM-9839] Extension - Safari - Disable Account Switching (#10364) * only show account switching when enableAccountSwitching is true * update the title of the account switcher component * only show "Lock All" when more than one account is present * implement account switching restrictions on non-extension refresh page --- apps/browser/src/_locales/en/messages.json | 3 ++ .../account-switcher.component.html | 51 ++++++++++--------- .../account-switcher.component.ts | 21 +++++++- 3 files changed, 51 insertions(+), 24 deletions(-) diff --git a/apps/browser/src/_locales/en/messages.json b/apps/browser/src/_locales/en/messages.json index d3520d5e44..2e1dc7952d 100644 --- a/apps/browser/src/_locales/en/messages.json +++ b/apps/browser/src/_locales/en/messages.json @@ -4093,5 +4093,8 @@ }, "bitwardenNewLookDesc": { "message": "It's easier and more intuitive than ever to autofill and search from the Vault tab. Take a look around!" + }, + "accountActions": { + "message": "Account actions" } } diff --git a/apps/browser/src/auth/popup/account-switching/account-switcher.component.html b/apps/browser/src/auth/popup/account-switching/account-switcher.component.html index 8c1c40a1b5..f0723d75ff 100644 --- a/apps/browser/src/auth/popup/account-switching/account-switcher.component.html +++ b/apps/browser/src/auth/popup/account-switching/account-switcher.component.html @@ -1,6 +1,6 @@ - + @@ -8,9 +8,9 @@ - + -
+
- -

{{ "availableAccounts" | i18n }}

-
+ + +

{{ "availableAccounts" | i18n }}

+
-
- -
+
+ +
+