mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
added toggle options logic (#276)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user