diff --git a/src/popup/vault/add-edit.component.html b/src/popup/vault/add-edit.component.html
index 8bbb779b3e..e3308ccd63 100644
--- a/src/popup/vault/add-edit.component.html
+++ b/src/popup/vault/add-edit.component.html
@@ -46,8 +46,7 @@
@@ -255,7 +254,7 @@
+ (click)="attachments()" *ngIf="editMode && showAttachments">
{{'attachments' | i18n}}
diff --git a/src/popup/vault/add-edit.component.ts b/src/popup/vault/add-edit.component.ts
index 72247bfd9b..a226ec4909 100644
--- a/src/popup/vault/add-edit.component.ts
+++ b/src/popup/vault/add-edit.component.ts
@@ -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;
diff --git a/src/popup/vault/view.component.html b/src/popup/vault/view.component.html
index 3b78db7237..4352cdffc9 100644
--- a/src/popup/vault/view.component.html
+++ b/src/popup/vault/view.component.html
@@ -42,8 +42,7 @@
@@ -241,7 +240,7 @@
-
+
diff --git a/src/popup/vault/view.component.ts b/src/popup/vault/view.component.ts
index ceb08818fd..6a523cc7a6 100644
--- a/src/popup/vault/view.component.ts
+++ b/src/popup/vault/view.component.ts
@@ -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;