added toggle options logic (#276)

This commit is contained in:
Addison Beck 2021-02-18 16:04:12 -05:00 committed by GitHub
parent b0ae1bfa4c
commit 5f5580cff9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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<Send> {
return this.sendService.get(this.sendId);
}