1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

rename bg variables

This commit is contained in:
Kyle Spearrin
2017-12-06 20:19:06 -05:00
parent bc132876c9
commit 985c02c5e1
5 changed files with 10 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ import { UtilsService } from '../../../services/abstractions/utils.service';
function getBackgroundService<T>(service: string) {
return (): T => {
const page = chrome.extension.getBackgroundPage();
return page ? page.bg_main[service] as T : null;
return page ? page.bitwardenMain[service] as T : null;
};
}