1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-14 10:26:19 +01:00
bitwarden-browser/src/app
Addison Beck 1e80c4335f
[bug] Resolve several regression issues (#1302)
* [bug] Ensure accounts logging out in the background doesn't impact active account ui

The main issue here: inactive accounts with a logout timeout actually log out the active account" is fixed by pulling in jslib.
These changes are for some asthetic issues I noticed, where inactive accounts logging out still fires a switchAccount event, which causes a loading spinner to appear and a sync that redraws the vault.

* Only load if the account being logged out is the active account:
* Replaced any calls to `stateService.activeAccount.getValue` with references to `this.activeUserId`, since we subscribe to that in the component now.
* Only send a "switchAccount" method if the active user before a clean and after a clean don't match

* [bug] Ensure default vault timeout is set to On Restart

We dont override the StateMigrationService instance that is injected in desktop, so it is not aware of desktop defaults.
This results in fresh accounts having a "Never" timeout action insteads of "On Restart"

* Use the correct StateMigrationService instance

* update jslib
2022-02-09 12:42:16 -05:00
..
accounts Update client for authService refactor (#1239) 2022-02-08 09:26:53 +10:00
components [Icons] Update Font Sheet (#1245) 2022-01-27 11:21:53 -06:00
layout [AccountSwitching]Make account switcher accessible (#1289) 2022-02-03 17:46:14 +01:00
send [Icons] Update Font Sheet (#1245) 2022-01-27 11:21:53 -06:00
vault [Help] Update links to new pattern (#1300) 2022-02-08 18:02:17 -06:00
app-routing.module.ts Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
app.component.ts [bug] Resolve several regression issues (#1302) 2022-02-09 12:42:16 -05:00
app.module.ts Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
main.ts Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
services.module.ts [bug] Resolve several regression issues (#1302) 2022-02-09 12:42:16 -05:00