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:
parent
b0ae1bfa4c
commit
5f5580cff9
@ -51,6 +51,7 @@ export class AddEditComponent implements OnInit {
|
|||||||
expirationDateSelect: number = null;
|
expirationDateSelect: number = null;
|
||||||
canAccessPremium = true;
|
canAccessPremium = true;
|
||||||
premiumRequiredAlertShown = false;
|
premiumRequiredAlertShown = false;
|
||||||
|
showOptions = false;
|
||||||
|
|
||||||
private webVaultUrl: string;
|
private webVaultUrl: string;
|
||||||
|
|
||||||
@ -246,6 +247,10 @@ export class AddEditComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
toggleOptions() {
|
||||||
|
this.showOptions = !this.showOptions;
|
||||||
|
}
|
||||||
|
|
||||||
protected async loadSend(): Promise<Send> {
|
protected async loadSend(): Promise<Send> {
|
||||||
return this.sendService.get(this.sendId);
|
return this.sendService.get(this.sendId);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user