1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00: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

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