1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +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

@@ -27,7 +27,7 @@ import { AddEditComponent as BaseAddEditComponent } from 'jslib/angular/componen
templateUrl: 'add-edit.component.html',
})
export class AddEditComponent extends BaseAddEditComponent implements OnInit {
canCheckPasswords = true;
showAttachments = true;
constructor(cipherService: CipherService, folderService: FolderService,
i18nService: I18nService, platformUtilsService: PlatformUtilsService,
@@ -40,7 +40,7 @@ export class AddEditComponent extends BaseAddEditComponent 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;