mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
tracking vault state with stateService
This commit is contained in:
@@ -17,5 +17,13 @@
|
||||
return null;
|
||||
};
|
||||
|
||||
_service.removeState = function (key) {
|
||||
delete _state[key];
|
||||
};
|
||||
|
||||
_service.purgeState = function () {
|
||||
_state = {};
|
||||
};
|
||||
|
||||
return _service;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user