mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
fix ctor for tools component
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user