1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00
bitwarden-browser/libs
rr-bw 90bad00cb5
[PM-3000] Add Environment URLs to Account Switcher (#5978)
* add server url to account switcher tab

* add serverUrl to SwitcherAccount(s)

* refactor serverUrl getter

* cleanup urls

* adjust styling

* remove SwitcherAccount class

* remove authenticationStatus from AccountProfile

* rename to inactiveAccounts for clarity

* move business logic to environmentService

* use tokenService instead of stateService

* cleanup type and comments

* remove unused property

* replace magic strings

* remove unused function

* minor refactoring

* refactor to use environmentService insead of getServerConfig

* use Utils.getHost() instead of Utils.getDomain()

* create getHost() method

* remove comment

* get base url as fallback

* resolve eslint error

* Update apps/desktop/src/app/layout/account-switcher.component.html

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>

---------

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2023-11-15 11:02:11 -08:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
angular [PM-3000] Add Environment URLs to Account Switcher (#5978) 2023-11-15 11:02:11 -08:00
auth [PM-2241] Add PRF attestation flow during passkey registration (#6525) 2023-11-08 14:35:36 +01:00
common [PM-3000] Add Environment URLs to Account Switcher (#5978) 2023-11-15 11:02:11 -08:00
components [PM-4187] update bwi-font to v1.0.8 (#6543) 2023-11-01 10:09:27 +01:00
exporter [ADR-0006][AC-319] Migrate all tests to use jest mock instead of substitute (#6520) 2023-10-17 17:02:33 +00:00
importer Removing the isUserAdmin and just using the canAccessImportExport property (#6822) 2023-11-13 10:18:21 -05:00
node Add State Provider Framework (#6640) 2023-11-09 17:06:42 -05:00
shared Add State Provider Framework (#6640) 2023-11-09 17:06:42 -05:00
tools [PM-4266] Create folder for tools owned features (#6761) 2023-11-02 14:10:28 +01:00
vault [PM-2169] Update Password Reprompt Modal to use Component Library (#5720) 2023-10-04 22:56:27 -04:00