From 5f5580cff9abb09fa1c1e090a3014fdb4b04dc12 Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Thu, 18 Feb 2021 16:04:12 -0500 Subject: [PATCH] added toggle options logic (#276) --- src/angular/components/send/add-edit.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/angular/components/send/add-edit.component.ts b/src/angular/components/send/add-edit.component.ts index f955f07c54..370aa4b0fb 100644 --- a/src/angular/components/send/add-edit.component.ts +++ b/src/angular/components/send/add-edit.component.ts @@ -51,6 +51,7 @@ export class AddEditComponent implements OnInit { expirationDateSelect: number = null; canAccessPremium = true; premiumRequiredAlertShown = false; + showOptions = false; private webVaultUrl: string; @@ -246,6 +247,10 @@ export class AddEditComponent implements OnInit { } } + toggleOptions() { + this.showOptions = !this.showOptions; + } + protected async loadSend(): Promise { return this.sendService.get(this.sendId); }