1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-17 15:37:57 +01:00

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

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);
}