1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +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>; formPromise: Promise<string>;
disabledByPolicy: boolean = false; disabledByPolicy: boolean = false;
exportForm = this.fb.group({ exportForm = this.formBuilder.group({
format: ["json"], format: ["json"],
secret: [""], secret: [""],
}); });
@ -41,7 +41,7 @@ export class ExportComponent implements OnInit {
protected win: Window, protected win: Window,
private logService: LogService, private logService: LogService,
private userVerificationService: UserVerificationService, private userVerificationService: UserVerificationService,
private fb: FormBuilder private formBuilder: FormBuilder
) {} ) {}
async ngOnInit() { async ngOnInit() {

View File

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