1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

cant download attachments on edge

This commit is contained in:
Kyle Spearrin
2018-07-24 23:23:44 -04:00
parent bdcbe4ee00
commit 975913fee0
4 changed files with 8 additions and 10 deletions

View File

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