mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
edge browser adjustments
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user