1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

edge browser adjustments

This commit is contained in:
Kyle Spearrin
2018-04-14 14:56:30 -04:00
parent b16ddbbb45
commit cfcb8653f7
5 changed files with 12 additions and 8 deletions

View File

@@ -27,6 +27,8 @@ import { AddEditComponent as BaseAddEditComponent } from 'jslib/angular/componen
templateUrl: 'add-edit.component.html',
})
export class AddEditComponent extends BaseAddEditComponent implements OnInit {
canCheckPasswords = true;
constructor(cipherService: CipherService, folderService: FolderService,
i18nService: I18nService, platformUtilsService: PlatformUtilsService,
analytics: Angulartics2, toasterService: ToasterService,
@@ -38,6 +40,7 @@ export class AddEditComponent extends BaseAddEditComponent implements OnInit {
}
ngOnInit() {
this.canCheckPasswords = !this.platformUtilsService.isEdge();
this.route.queryParams.subscribe(async (params) => {
if (params.cipherId) {
this.cipherId = params.cipherId;