mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
rename bg variables
This commit is contained in:
@@ -120,7 +120,8 @@ class Cipher extends Domain {
|
||||
model.subTitle = model.login.username;
|
||||
if (model.login.uri) {
|
||||
if (this.utilsService == null) {
|
||||
this.utilsService = chrome.extension.getBackgroundPage().bg_main.utilsService as UtilsService;
|
||||
this.utilsService = chrome.extension.getBackgroundPage()
|
||||
.bitwardenMain.utilsService as UtilsService;
|
||||
}
|
||||
|
||||
model.login.domain = this.utilsService.getDomain(model.login.uri);
|
||||
|
||||
@@ -95,7 +95,8 @@ class CipherString {
|
||||
|
||||
const self = this;
|
||||
if (this.cryptoService == null) {
|
||||
this.cryptoService = chrome.extension.getBackgroundPage().bg_main.cryptoService as CryptoService;
|
||||
this.cryptoService = chrome.extension.getBackgroundPage()
|
||||
.bitwardenMain.cryptoService as CryptoService;
|
||||
}
|
||||
|
||||
return this.cryptoService.getOrgKey(orgId).then((orgKey: any) => {
|
||||
|
||||
Reference in New Issue
Block a user