1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

rename to bitwardenContainerService

This commit is contained in:
Kyle Spearrin
2018-01-11 14:00:32 -05:00
parent 808e74bcfb
commit ce628ba1db
3 changed files with 6 additions and 6 deletions

View File

@@ -117,13 +117,13 @@ class Cipher extends Domain {
model.login = await this.login.decrypt(this.organizationId);
model.subTitle = model.login.username;
if (model.login.uri) {
const containerService = (window as any).BitwardenContainerService;
const containerService = (window as any).bitwardenContainerService;
if (containerService) {
const platformUtilsService: PlatformUtilsService =
containerService.getPlatformUtilsService();
model.login.domain = platformUtilsService.getDomain(model.login.uri);
} else {
throw new Error('window.BitwardenContainerService not initialized.');
throw new Error('window.bitwardenContainerService not initialized.');
}
}
break;