diff --git a/libs/angular/src/tools/send/add-edit.component.ts b/libs/angular/src/tools/send/add-edit.component.ts index 0827ad318cc..ffe0b6a4f9d 100644 --- a/libs/angular/src/tools/send/add-edit.component.ts +++ b/libs/angular/src/tools/send/add-edit.component.ts @@ -207,9 +207,6 @@ export class AddEditComponent implements OnInit, OnDestroy { this.send = await send.decrypt(); this.type = this.send.type; this.updateFormValues(); - if (this.send.hideEmail) { - this.formGroup.controls.hideEmail.enable(); - } } else { this.send = new SendView(); this.send.type = this.type; @@ -425,6 +422,10 @@ export class AddEditComponent implements OnInit, OnDestroy { "yyyy-MM-ddTHH:mm" ), }); + + if (this.send.hideEmail) { + this.formGroup.controls.hideEmail.enable(); + } } private async handleCopyLinkToClipboard() {