1
0
mirror of https://github.com/bitwarden/web synced 2025-12-16 08:13:22 +00:00

org keys and optimized org profile load for sidenav

This commit is contained in:
Kyle Spearrin
2017-03-06 23:54:06 -05:00
parent b3c8337f83
commit 0ea4b4400f
6 changed files with 84 additions and 14 deletions

View File

@@ -92,11 +92,14 @@ angular
for (var i = 0; i < profile.Organizations.length; i++) {
orgs.push({
id: profile.Organizations[i].Id,
name: profile.Organizations[i].Name
name: profile.Organizations[i].Name,
key: profile.Organizations[i].Key,
status: profile.Organizations[i].Status
});
}
_userProfile.organizations = orgs;
cryptoService.setOrgKeys(orgs);
}
}