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

@@ -28,6 +28,8 @@ import { ViewComponent as BaseViewComponent } from 'jslib/angular/components/vie
templateUrl: 'view.component.html',
})
export class ViewComponent extends BaseViewComponent implements OnInit {
canCheckPasswords = true;
constructor(cipherService: CipherService, totpService: TotpService,
tokenService: TokenService, toasterService: ToasterService,
cryptoService: CryptoService, platformUtilsService: PlatformUtilsService,
@@ -39,6 +41,7 @@ export class ViewComponent extends BaseViewComponent implements OnInit {
}
ngOnInit() {
this.canCheckPasswords = !this.platformUtilsService.isEdge();
this.route.queryParams.subscribe(async (params) => {
if (params.cipherId) {
this.cipherId = params.cipherId;