1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00
bitwarden-browser/angular
Addison Beck a6092916d8
[bug] Persistantly store collapsedGroupings (#686)
Collapsed groupings have regressed to not maintaining their state through restarting clients.

The state mangement refactor erroniously began saving this field to memory instead of disk, but there were some other issues that changing this brought on that are also fixed in this commit.

Changes:
1. Save collapsedGroupings persistantly in StateService
2. Adjust the type of collapsedGroupings on the Account model from a Set<string> to a string[]
	* This is the way we were storing this value in previous releases, and saving the entire set object breaks.
3. Adjust the StateService getter/setter for collapsedGroupings to expect a string[]
4. Extract a string[] from the GroupingsComponent groupings that is a Set<string> before saving
2022-02-15 12:54:22 -05:00
..
src [bug] Persistantly store collapsedGroupings (#686) 2022-02-15 12:54:22 -05:00
package-lock.json Bump angular to 12. (#571) 2021-12-09 15:00:26 +01:00
package.json Bump angular to 12. (#571) 2021-12-09 15:00:26 +01:00
tsconfig.json Add a shared tsconfig file (#609) 2022-01-17 13:21:20 +01:00