1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

share profile promise result when called at same

time
This commit is contained in:
Kyle Spearrin
2017-03-27 22:22:56 -04:00
parent 35e0f27f52
commit 4d2cae0b0f
2 changed files with 20 additions and 17 deletions

View File

@@ -26,7 +26,7 @@ angular
};
_service.setOrgKeys = function (orgKeysCt, privateKey) {
if (!orgKeysCt.length) {
if (!orgKeysCt || Object.keys(orgKeysCt).length === 0) {
return;
}