1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

Rename all occurances of fb to formBuilder (#595)

This commit is contained in:
Robyn MacCallum 2021-12-31 10:05:23 -05:00 committed by GitHub
parent e4cd0af2f9
commit cc989e4071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ export class ExportComponent implements OnInit {
formPromise: Promise<string>;
disabledByPolicy: boolean = false;
exportForm = this.fb.group({
exportForm = this.formBuilder.group({
format: ["json"],
secret: [""],
});
@ -41,7 +41,7 @@ export class ExportComponent implements OnInit {
protected win: Window,
private logService: LogService,
private userVerificationService: UserVerificationService,
private fb: FormBuilder
private formBuilder: FormBuilder
) {}
async ngOnInit() {

View File

@ -21,9 +21,9 @@ export class VaultTimeoutInputComponent implements ControlValueAccessor, Validat
static CUSTOM_VALUE = -100;
form = this.fb.group({
form = this.formBuilder.group({
vaultTimeout: [null],
custom: this.fb.group({
custom: this.formBuilder.group({
hours: [null],
minutes: [null],
}),
@ -38,7 +38,7 @@ export class VaultTimeoutInputComponent implements ControlValueAccessor, Validat
private validatorChange: () => void;
constructor(
private fb: FormBuilder,
private formBuilder: FormBuilder,
private policyService: PolicyService,
private i18nService: I18nService
) {}