1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-24 04:04:29 +00:00

organization settings

This commit is contained in:
Kyle Spearrin
2018-05-03 14:18:47 -04:00
parent fd3793d3d7
commit 1632af3e22
9 changed files with 111 additions and 23 deletions

View File

@@ -101,6 +101,13 @@ export function initFactory(): Function {
if (installAction != null) {
await storageService.save(ConstantsService.installedVersionKey, currentVersion);
}
window.setTimeout(async () => {
if (await userService.isAuthenticated()) {
const profile = await apiService.getProfile();
stateService.save('profileOrganizations', profile.organizations);
}
}, 500);
};
}