mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
fix ctor for tools component
This commit is contained in:
parent
1360d930a9
commit
62ece2e8fe
@ -5,11 +5,11 @@ import { UtilsService } from '../../../services/abstractions/utils.service';
|
|||||||
export class ToolsController {
|
export class ToolsController {
|
||||||
showExport: boolean;
|
showExport: boolean;
|
||||||
i18n: any;
|
i18n: any;
|
||||||
|
private webVaultBaseUrl: string = 'https://vault.bitwarden.com';
|
||||||
|
|
||||||
constructor(private SweetAlert: any, private i18nService: any,
|
constructor(private SweetAlert: any, private i18nService: any,
|
||||||
private $analytics: any, private utilsService: UtilsService,
|
private $analytics: any, private utilsService: UtilsService,
|
||||||
private webVaultBaseUrl: string = 'https://vault.bitwarden.com',
|
private environmentService: any) {
|
||||||
private environmentService: any) {
|
|
||||||
this.i18n = i18nService;
|
this.i18n = i18nService;
|
||||||
this.showExport = !utilsService.isEdge();
|
this.showExport = !utilsService.isEdge();
|
||||||
if (environmentService.baseUrl) {
|
if (environmentService.baseUrl) {
|
||||||
|
Loading…
Reference in New Issue
Block a user